Closed run81 closed 4 years ago
@1-2-77
Thank you for creating this issue!
HashTagText
and HashtagTextField
don't inherit theme textStyle, so you need to add color:
in your google fonts.
I guess it will solve your problem👍
Can you please provide an example? It's not possible to use the style parameter which is needed to implement the font.
On Wed, 16 Sep 2020, 09:20 Santa Takahashi, notifications@github.com wrote:
@1-2-77 https://github.com/1-2-77 Thank you for creating this issue! HashTagText and HashtagTextField don't inherit theme textStyle, so you need to add color: in your google fonts. I guess it will solve your problem👍
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/santa112358/hashtagable/issues/34#issuecomment-693223503, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACDHRXB434XW5TCHQIBUWSDSGBRL5ANCNFSM4RM7CP7Q .
@1-2-77 Sure, like this.
HashTagTextField(
basicStyle: GoogleFonts.pacifico(
color: Colors.black,
fontSize: 14,
fontWeight: FontWeight.w200,
),
decoratedStyle: GoogleFonts.pacifico(
color: Colors.red,
fontSize: 14,
fontWeight: FontWeight.w200,
),
),
What you have been missing is the line color:
in textStyle.
Does it make sense?
@1-2-77 The issue looks like solved, so now I close this
This is not possible to use:
style: GoogleFonts.roboto( fontSize: 12, fontWeight: FontWeight.w200, ),