enable Material 3 on add_to_app/prebuilt_module (#1641)

pull/1646/head
Miguel Beltran 2 years ago committed by GitHub
parent b5806955eb
commit 6be2b4e31e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -64,6 +64,7 @@ class MyApp extends StatelessWidget {
Widget build(BuildContext context) { Widget build(BuildContext context) {
return MaterialApp( return MaterialApp(
title: 'Flutter Module Title', title: 'Flutter Module Title',
theme: ThemeData.light(useMaterial3: true),
routes: { routes: {
'/': (context) => const FullScreenView(), '/': (context) => const FullScreenView(),
'/mini': (context) => const Contents(), '/mini': (context) => const Contents(),

Loading…
Cancel
Save