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:
@@ -25,7 +25,6 @@ class PlaceTrackerApp extends StatelessWidget {
|
||||
Widget build(BuildContext context) {
|
||||
return MaterialApp.router(
|
||||
theme: ThemeData(
|
||||
useMaterial3: true,
|
||||
colorSchemeSeed: Colors.green,
|
||||
appBarTheme: AppBarTheme(
|
||||
backgroundColor: Colors.green[700],
|
||||
|
||||
Reference in New Issue
Block a user