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

enable Material 3 on platform_design (#1624)

This commit is contained in:
Miguel Beltran
2023-02-05 13:00:28 +01:00
committed by GitHub
parent a5cdae3ab0
commit 9583b59615

View File

@@ -25,6 +25,7 @@ class MyAdaptingApp extends StatelessWidget {
theme: ThemeData(
// Use the green theme for Material widgets.
primarySwatch: Colors.green,
useMaterial3: true,
),
darkTheme: ThemeData.dark(),
builder: (context, child) {