Skip to content

Custom values for primaryTextTheme does not apply #160

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

You must be logged in to vote

Hi @jayveecaayao, thanks for the report.

I am trying to reproduce it but I am not able to do so.

Reproduction of issue setup

Can you confirm a few things:

  • Used version of FlexColorScheme
  • In what context are you examining the textTheme above?
  • Also if you are applying styling to primaryTextTheme you will find those styles only in the primaryTextTheme (that by default has text color that fits on background with primary color) not at all in the TextTheme.

You will not see the effective textTheme or primaryTextTheme in the same context as the MaterialApp. You need to be in the context below it.

Maybe the explanations and examples below help and clarifies the situation.

Of course if you still…

Replies: 4 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
Comment options

You must be logged in to vote
0 replies
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. works as expected Reported issue is not a bug, everything works as expected and designed
2 participants
Converted from issue

This discussion was converted from issue #157 on May 25, 2023 10:08.