cake_wallet/lib/theme_changer.dart
2020-01-04 21:31:52 +02:00

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();
}
}