1
0
mirror of https://github.com/flutter/samples.git synced 2025-11-08 22:09:06 +00:00

Enable Material 3 on code_sharing sample (#1607)

This commit is contained in:
Miguel Beltran
2023-01-27 21:31:20 +01:00
committed by GitHub
parent 079e5a3c1e
commit 5b6b77995a

View File

@@ -33,7 +33,8 @@ class MyApp extends StatelessWidget {
return MaterialApp( return MaterialApp(
title: 'Flutter Demo', title: 'Flutter Demo',
theme: ThemeData( theme: ThemeData(
primarySwatch: Colors.blue, colorSchemeSeed: Colors.blue,
useMaterial3: true,
), ),
home: MyHomePage( home: MyHomePage(
title: 'Flutter Demo Home Page', title: 'Flutter Demo Home Page',