enable Material 3 on add_to_app/multiple_flutters (#1639)

pull/1646/head
Miguel Beltran 1 year ago committed by GitHub
parent 252726c2e8
commit 00dc0d12dc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -24,7 +24,13 @@ class MyApp extends StatelessWidget {
return MaterialApp(
title: 'Flutter Demo',
theme: ThemeData(
primarySwatch: color,
colorSchemeSeed: color,
useMaterial3: true,
appBarTheme: AppBarTheme(
backgroundColor: color,
foregroundColor: Colors.white,
elevation: 8,
),
),
home: const MyHomePage(title: 'Flutter Demo Home Page'),
);

Loading…
Cancel
Save