From 6be2b4e31ee958b0cedf80162eec3621007da74d Mon Sep 17 00:00:00 2001 From: Miguel Beltran Date: Thu, 9 Feb 2023 04:27:19 +0100 Subject: [PATCH] enable Material 3 on add_to_app/prebuilt_module (#1641) --- add_to_app/prebuilt_module/flutter_module/lib/main.dart | 1 + 1 file changed, 1 insertion(+) diff --git a/add_to_app/prebuilt_module/flutter_module/lib/main.dart b/add_to_app/prebuilt_module/flutter_module/lib/main.dart index 9f32725a0..fcff29b1c 100644 --- a/add_to_app/prebuilt_module/flutter_module/lib/main.dart +++ b/add_to_app/prebuilt_module/flutter_module/lib/main.dart @@ -64,6 +64,7 @@ class MyApp extends StatelessWidget { Widget build(BuildContext context) { return MaterialApp( title: 'Flutter Module Title', + theme: ThemeData.light(useMaterial3: true), routes: { '/': (context) => const FullScreenView(), '/mini': (context) => const Contents(),