mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2025-01-05 10:29:23 +00:00
17 lines
No EOL
254 B
Dart
17 lines
No EOL
254 B
Dart
import 'package:flutter/material.dart';
|
|
|
|
class ThemeChanger with ChangeNotifier {
|
|
|
|
ThemeData _themeData;
|
|
|
|
ThemeChanger(this._themeData);
|
|
|
|
getTheme() => _themeData;
|
|
|
|
setTheme(ThemeData theme){
|
|
_themeData = theme;
|
|
|
|
notifyListeners();
|
|
}
|
|
|
|
} |