1
0
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:
Miguel Beltran
2023-02-09 04:31:24 +01:00
committed by GitHub
parent c8558e78f7
commit e4e7d4461a

View File

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