From 9583b596151c522d8eb42886ceb7b1ca09352c57 Mon Sep 17 00:00:00 2001 From: Miguel Beltran <m@beltran.work> Date: Sun, 5 Feb 2023 13:00:28 +0100 Subject: [PATCH] enable Material 3 on platform_design (#1624) --- platform_design/lib/main.dart | 1 + 1 file changed, 1 insertion(+) diff --git a/platform_design/lib/main.dart b/platform_design/lib/main.dart index 1151bf8c1..f9aa8face 100644 --- a/platform_design/lib/main.dart +++ b/platform_design/lib/main.dart @@ -25,6 +25,7 @@ class MyAdaptingApp extends StatelessWidget { theme: ThemeData( // Use the green theme for Material widgets. primarySwatch: Colors.green, + useMaterial3: true, ), darkTheme: ThemeData.dark(), builder: (context, child) {