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:
@@ -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'),
|
||||||
);
|
);
|
||||||
|
|||||||
Reference in New Issue
Block a user