1
0
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:
Miguel Beltran
2023-07-26 10:09:15 +02:00
committed by GitHub
parent ca0e315628
commit ca4453a87f

View File

@@ -64,7 +64,8 @@ class _MyAppState extends State<MyApp> {
return MaterialApp(
title: 'Element embedding',
theme: ThemeData(
primarySwatch: Colors.blue,
colorScheme: ColorScheme.fromSeed(seedColor: Colors.blue),
useMaterial3: true,
),
debugShowCheckedModeBanner: false,
home: demoScreenRouter(_currentDemoScreen),