We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 97bea94 commit 1c1134dCopy full SHA for 1c1134d
example/lib/app/theme.dart
@@ -4,6 +4,7 @@ import 'package:flutter/material.dart';
4
class AppTheme {
5
static final light = ThemeData(
6
brightness: Brightness.light,
7
+ useMaterial3: true,
8
colorScheme: const ColorScheme.light(secondary: Colors.red),
9
disabledColor: Colors.grey.shade400,
10
visualDensity: VisualDensity.adaptivePlatformDensity,
@@ -13,6 +14,7 @@ class AppTheme {
13
14
brightness: Brightness.dark,
15
colorScheme: const ColorScheme.dark(secondary: Colors.red),
16
17
18
19
);
20
}
0 commit comments