mirror of
https://github.com/flutter/samples.git
synced 2025-11-08 22:09:06 +00:00
Enable Material 3 in web_embedding (#1967)
This commit is contained in:
@@ -64,7 +64,8 @@ class _MyAppState extends State<MyApp> {
|
|||||||
return MaterialApp(
|
return MaterialApp(
|
||||||
title: 'Element embedding',
|
title: 'Element embedding',
|
||||||
theme: ThemeData(
|
theme: ThemeData(
|
||||||
primarySwatch: Colors.blue,
|
colorScheme: ColorScheme.fromSeed(seedColor: Colors.blue),
|
||||||
|
useMaterial3: true,
|
||||||
),
|
),
|
||||||
debugShowCheckedModeBanner: false,
|
debugShowCheckedModeBanner: false,
|
||||||
home: demoScreenRouter(_currentDemoScreen),
|
home: demoScreenRouter(_currentDemoScreen),
|
||||||
|
|||||||
Reference in New Issue
Block a user