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/prebuilt_module (#1641)

This commit is contained in:
Miguel Beltran
2023-02-09 04:27:19 +01:00
committed by GitHub
parent b5806955eb
commit 6be2b4e31e

View File

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