Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Review] use MaterialApp's theme #19

Open
KLD opened this issue Dec 22, 2022 · 1 comment
Open

[Review] use MaterialApp's theme #19

KLD opened this issue Dec 22, 2022 · 1 comment

Comments

@KLD
Copy link
Collaborator

KLD commented Dec 22, 2022

lib/providers/theme_provider.dart

class MyThemes {
  static final darkTheme = ThemeData(
      scaffoldBackgroundColor: Colors.grey[900],
      colorScheme: ColorScheme.dark());

  static final lightTheme = ThemeData(
      scaffoldBackgroundColor: Colors.grey[300],
      colorScheme: ColorScheme.light());
}

Use MaterialApp's theme. #12

@Talal-12
Copy link
Collaborator

removed theme provider and change theme widget (not working)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants