Skip to content

Commit 9583b59

Browse files
enable Material 3 on platform_design (#1624)
1 parent a5cdae3 commit 9583b59

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

platform_design/lib/main.dart

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ class MyAdaptingApp extends StatelessWidget {
2525
theme: ThemeData(
2626
// Use the green theme for Material widgets.
2727
primarySwatch: Colors.green,
28+
useMaterial3: true,
2829
),
2930
darkTheme: ThemeData.dark(),
3031
builder: (context, child) {

0 commit comments

Comments
 (0)