mirror of
https://github.com/flutter/samples.git
synced 2025-11-08 13:58:47 +00:00
enable Material 3 on add_to_app/books (#1637)
This commit is contained in:
@@ -15,6 +15,7 @@ class MyApp extends StatelessWidget {
|
|||||||
return MaterialApp(
|
return MaterialApp(
|
||||||
theme: ThemeData(
|
theme: ThemeData(
|
||||||
primaryColor: const Color(0xff6200ee),
|
primaryColor: const Color(0xff6200ee),
|
||||||
|
useMaterial3: true,
|
||||||
),
|
),
|
||||||
home: const BookDetail(),
|
home: const BookDetail(),
|
||||||
);
|
);
|
||||||
|
|||||||
Reference in New Issue
Block a user