1
0
mirror of https://github.com/flutter/samples.git synced 2025-11-08 13:58:47 +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(
title: 'Flutter Demo',
theme: ThemeData(
primarySwatch: Colors.blue,
colorSchemeSeed: Colors.blue,
useMaterial3: true,
),
home: const MyHomePage(),
);