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