mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2024-11-17 09:47:35 +00:00
16 lines
No EOL
270 B
Dart
16 lines
No EOL
270 B
Dart
import 'package:flutter/material.dart';
|
|
|
|
class ThemeChanger with ChangeNotifier {
|
|
|
|
ThemeChanger(this._themeData);
|
|
|
|
ThemeData _themeData;
|
|
|
|
ThemeData getTheme() => _themeData;
|
|
|
|
void setTheme(ThemeData theme){
|
|
_themeData = theme;
|
|
|
|
notifyListeners();
|
|
}
|
|
} |