mirror of
https://github.com/flutter/samples.git
synced 2025-11-08 22:09:06 +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 MyAdaptingApp extends StatelessWidget {
|
||||
theme: ThemeData(
|
||||
// Use the green theme for Material widgets.
|
||||
primarySwatch: Colors.green,
|
||||
useMaterial3: true,
|
||||
),
|
||||
darkTheme: ThemeData.dark(),
|
||||
builder: (context, child) {
|
||||
|
||||
Reference in New Issue
Block a user