AppThemeUtil class
Constructors
- AppThemeUtil()
-
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
changeTheme(
int index) → void - 更换主题
-
changeThemeMode(
ThemeMode themeModel) → Future< void> -
changeThemeWithEnum(
CustomAppThemeData themeData) → void - 更换主题
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
registerAdapterAndOpenBox(
) → Future< void> - 注册适配器
-
toString(
) → String -
A string representation of this object.
inherited
-
toThemeSettingPage(
BuildContext context, {CustomBuildThemeItems? builder, PreferredSizeWidget? appbar}) → Future< void> - 前往切换主题页面
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited