1
0
mirror of https://github.com/flutter/samples.git synced 2025-11-09 14:28:51 +00:00

enable Material 3 on jsonexample (#1620)

This commit is contained in:
Miguel Beltran
2023-02-01 23:03:53 +01:00
committed by GitHub
parent f3ec2b7e64
commit a91b434155

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: const MyHomePage(), home: const MyHomePage(),
); );