mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2024-11-01 18:07:44 +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();
|
|
}
|
|
} |