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(), );