I have a use case where I need to integrate AutoSizeText with EasyRichText. I appreciate that not all users of this package will need that, so I didn't think it necessary to add AutoSizeText as a dependency for the whole package.
I did however make a change that makes it easier to extend EasyRichText widgets by creating a new method which is only responsible for building the widget.
For my example, with this change I was able to use this in my app to build an AutoSizeEasyRichText widget with very little boilerplate code:
Hi @2000calories 👋
I have a use case where I need to integrate
AutoSizeText
withEasyRichText
. I appreciate that not all users of this package will need that, so I didn't think it necessary to add AutoSizeText as a dependency for the whole package.I did however make a change that makes it easier to extend EasyRichText widgets by creating a new method which is only responsible for building the widget.
For my example, with this change I was able to use this in my app to build an
AutoSizeEasyRichText
widget with very little boilerplate code: