diff --git a/android_splash_screen/lib/main.dart b/android_splash_screen/lib/main.dart index 08057a129..77bc060c4 100644 --- a/android_splash_screen/lib/main.dart +++ b/android_splash_screen/lib/main.dart @@ -30,6 +30,7 @@ class MyApp extends StatelessWidget { title: 'Flutter Demo', theme: ThemeData( primarySwatch: Colors.blue, + useMaterial3: true, ), home: const MyHomePage(title: 'Flutter Demo Home Page'), );