Houzi proivdes you with the getDefaultAppThemeModeHook() for configuring the default app theme mode. You have following theme mode options:
- light (For the Light Theme Mode).
- dark (For the Dark Theme Mode).
- system (For the System Default Theme Mode).
Simply open the file from the following path:
Project_HOME > lib > hooks_v2.dart
Look for the getDefaultAppThemeModeHook()
method. Return the desired option from one of the above mentioned options.
@override
DefaultAppThemeModeHook? getDefaultAppThemeModeHook() {
DefaultAppThemeModeHook defaultAppThemeModeHook = () {
return "light";
};
return defaultAppThemeModeHook;
}
Previous: Add Custom Drawer Menu Row Design Next: Add item in SettingsAfter modifications, restart the app and the changes will reflect in your app.