init
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:tencent_cloud_chat_uikit/theme/tui_theme.dart';
|
||||
import 'package:tencent_cloud_chat_uikit/theme/color.dart';
|
||||
|
||||
class TUIThemeViewModel extends ChangeNotifier {
|
||||
TUITheme _theme = CommonColor.defaultTheme;
|
||||
|
||||
TUITheme get theme {
|
||||
return _theme;
|
||||
}
|
||||
|
||||
set theme(TUITheme theme) {
|
||||
_theme = theme;
|
||||
notifyListeners();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user