Enable Material 3 in `web_embedding` (#1967)

pull/1973/head
Miguel Beltran 1 year ago committed by GitHub
parent ca0e315628
commit ca4453a87f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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),

Loading…
Cancel
Save