Skip to content

Commit

Permalink
Set useMaterial3 to false
Browse files Browse the repository at this point in the history
  • Loading branch information
quoc-huynh-cosee committed Nov 21, 2023
1 parent 338849c commit 17faebd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions example/lib/theme.dart
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ class CustomTheme {
const CustomTheme._();

static ThemeData theme(BuildContext context) => ThemeData(
useMaterial3: false,
colorScheme: Theme.of(context).colorScheme.copyWith(
primary: green,
secondary: _yellow,
Expand Down

0 comments on commit 17faebd

Please sign in to comment.