Add material3 flag

This commit is contained in:
Shawn 2023-04-11 14:46:22 -06:00
parent 96734a070f
commit 11aad53f71

View File

@ -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,