Closed Jiseeeh closed 3 months ago
eto yung sa main app sample
@override
Widget build(BuildContext context, WidgetRef ref) {
final themeMode = ref.watch(appThemeProvider); // no need na muna to, pero if kaya mo gawin pede na, gagamit kasi ng shared preference para ma store yung current theme ng app sa local
return MaterialApp.router(
title: 'Flutter TDD',
theme: AppTheme.lightTheme,
darkTheme: AppTheme.darkTheme,
themeMode: themeMode, // // no need na muna to, pero if kaya mo gawin pede na, gagamit kasi ng shared preference para ma store yung current theme ng app sa local
routeInformationParser: appRouter.defaultRouteParser(),
routerDelegate: appRouter.delegate(),
debugShowCheckedModeBanner: false,
);
}
:tada: This issue has been resolved in version 1.0.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:
As a
dev
I want to
have a themeData for light and dark theme
To
easily change the app theme
Acceptance Criteria
theme/
theme/
theme/