Skip to content
Discussion options

You must be logged in to vote

Hi @Petros0,

Appreciate your message :)

Re. UI libraries
You could do something like this.

resources/themes/light_theme.dart file

ThemeData lightTheme(ColorStyles color) {

  return FThemes.zinc.light.toApproximateMaterialTheme();
}

resources/themes/dark_theme.dart file

ThemeData darkTheme(ColorStyles color) {

  return FThemes.zinc.dark.toApproximateMaterialTheme();
}

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by Petros0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants