Skip to content

A series of visible changes when switching FlexScheme #39

Closed Answered by rydmike
dannylin108 asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @dannylin108, this is a good and very frequent and relevant question generally in Flutter.

It all depends on how you do the state management to provide the ThemeData that FlexColorScheme produces to your application. FlexColorScheme just makes a ThemeData object, which is just as the class name says "data" that describe your theme. Yes if you apply any ThemeData (not just FlexColorScheme made one, Flutter just sees FlexColorScheme ThemeData as normal ThemeData since that is what it makes) in a "none" Flutter suitable way to you MaterialApp, you might very well se multiple rebuilds.

The example applications show one way of doing it using the official Google/Flutter skeleton template, bu…

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by rydmike
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
question This issue is a usage question and will be moved to the Discussions section.
2 participants
Converted from issue

This discussion was converted from issue #34 on April 06, 2022 01:14.