mirror of
https://github.com/flutter/samples.git
synced 2025-11-08 13:58:47 +00:00
enable Material 3 on add_to_app/fullscreen (#1638)
This commit is contained in:
@@ -64,6 +64,7 @@ class MyApp extends StatelessWidget {
|
|||||||
Widget build(BuildContext context) {
|
Widget build(BuildContext context) {
|
||||||
return MaterialApp(
|
return MaterialApp(
|
||||||
title: 'Flutter Module Title',
|
title: 'Flutter Module Title',
|
||||||
|
theme: ThemeData.light(useMaterial3: true),
|
||||||
routes: {
|
routes: {
|
||||||
'/': (context) => const FullScreenView(),
|
'/': (context) => const FullScreenView(),
|
||||||
'/mini': (context) => const Contents(),
|
'/mini': (context) => const Contents(),
|
||||||
|
|||||||
Reference in New Issue
Block a user