mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2024-12-23 03:59:23 +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();
|
|
}
|
|
} |