enable Material 3 on jsonexample (#1620)

pull/1624/head
Miguel Beltran 3 years ago committed by GitHub
parent f3ec2b7e64
commit a91b434155
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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

Loading…
Cancel
Save