1
0
mirror of https://github.com/flutter/samples.git synced 2025-11-08 22:09:06 +00:00

enable Material 3 on add_to_app/fullscreen (#1638)

This commit is contained in:
Miguel Beltran
2023-02-09 04:30:37 +01:00
committed by GitHub
parent 00dc0d12dc
commit c8558e78f7

View File

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