From a91b4341553e9abcd9950d7803ad840b86ce8655 Mon Sep 17 00:00:00 2001 From: Miguel Beltran Date: Wed, 1 Feb 2023 23:03:53 +0100 Subject: [PATCH] enable Material 3 on jsonexample (#1620) --- jsonexample/lib/main.dart | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/jsonexample/lib/main.dart b/jsonexample/lib/main.dart index 1022b193e..085b99519 100644 --- a/jsonexample/lib/main.dart +++ b/jsonexample/lib/main.dart @@ -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(), );