- Upgraded to null safety
- Added
textKey
parameter
- Fixed screenshots
- Fixed bug where
textScaleFactor
was not taken into account (thanks @Kavantix)
- Allow fractional font sizes again
- Fixed bug with
wrapWords
not working
- Added logo
- Significant performance improvements
- Prevent word wrapping using
wordWrap: false
- Replacement widget in case of text overflow:
overflowReplacement
- Added
strutStyle
parameter fromText
- Fixed problem in case the
AutoSizeTextGroup
changes - Improved documentation
- Added many more tests
- Fixed bug where system font scale was applied twice (thanks @jeffersonatsafe)
- Fixed bug where setting the style of a
TextSpan
to null inAutoSizeText.rich
didn't work (thanks @Koridev) - Allow
minFontSize = 0
- Added
group
parameter andAutoSizeGroup
to synchronize multipleAutoSizeText
s - Fixed bug where
minFontSize
was not used correctly - Improved documentation
- Library is used in multiple projects in production and is considered stable now.
- Added more tests
- Added textScaleFactor property with fallback to
MediaQuery.textScaleFactorOf()
(thanks @jeroentrappers)
- Fixed tests
- Improved documentation
- Fixed problem with
minFontSize
andmaxFontSize
(thanks @apaatsio)
- Added support for Rich Text using
AutoSizeText.rich()
with one or multipleTextSpan
s. - Improved text size calculation (using
textScaleFactor
)
- Fixed documentation (thanks @g-balas)
- Added tests
- Fixed documentation
- Added example
- First Release