1
0
mirror of https://github.com/flutter/samples.git synced 2025-11-08 13:58:47 +00:00

enable Material 3 on android_splash_screen sample (#1604)

This commit is contained in:
Miguel Beltran
2023-01-27 21:13:08 +01:00
committed by GitHub
parent de6e27001e
commit c784884741

View File

@@ -30,6 +30,7 @@ class MyApp extends StatelessWidget {
title: 'Flutter Demo', title: 'Flutter Demo',
theme: ThemeData( theme: ThemeData(
primarySwatch: Colors.blue, primarySwatch: Colors.blue,
useMaterial3: true,
), ),
home: const MyHomePage(title: 'Flutter Demo Home Page'), home: const MyHomePage(title: 'Flutter Demo Home Page'),
); );