2000calories / flutter_easy_rich_text

The EasyRichText widget provides an easy way to use RichText.
https://pub.dev/packages/easy_rich_text
MIT License
79 stars 34 forks source link

TextScaler as property of constructor #51

Closed sh1l0n closed 2 months ago

sh1l0n commented 9 months ago

TextScaler could be part from constructor parameters instead to assign it as default TextScaler.linear() inside the widget

so we could instanciate as:

EasyRichText(textScaler: MediaQuery.of(context).textScaler)