1
0
mirror of https://github.com/flutter/samples.git synced 2025-11-08 13:58:47 +00:00

Fixed ThemeData in the Flutter Samples unnecessarily includes useMaterial3 = true (Issue #2214) (#2217)

This commit is contained in:
Sasank Tumpati
2024-03-20 14:46:39 +05:30
committed by GitHub
parent 25686cf360
commit 0e1355841d
37 changed files with 10 additions and 37 deletions

View File

@@ -64,7 +64,7 @@ class MyApp extends StatelessWidget {
Widget build(BuildContext context) {
return MaterialApp(
title: 'Flutter Module Title',
theme: ThemeData.light(useMaterial3: true),
theme: ThemeData.light(),
routes: {
'/': (context) => const FullScreenView(),
'/mini': (context) => const Contents(),