Add material3 flag
This commit is contained in:
parent
96734a070f
commit
11aad53f71
@ -37,7 +37,7 @@ class WondersApp extends StatelessWidget with GetItMixin {
|
|||||||
locale: locale == null ? null : Locale(locale),
|
locale: locale == null ? null : Locale(locale),
|
||||||
debugShowCheckedModeBanner: false,
|
debugShowCheckedModeBanner: false,
|
||||||
routerDelegate: appRouter.routerDelegate,
|
routerDelegate: appRouter.routerDelegate,
|
||||||
theme: ThemeData(fontFamily: $styles.text.body.fontFamily),
|
theme: ThemeData(fontFamily: $styles.text.body.fontFamily, useMaterial3: true),
|
||||||
localizationsDelegates: const [
|
localizationsDelegates: const [
|
||||||
AppLocalizations.delegate,
|
AppLocalizations.delegate,
|
||||||
GlobalMaterialLocalizations.delegate,
|
GlobalMaterialLocalizations.delegate,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user