auto_size_text 2.1.0
auto_size_text: ^2.1.0

Flutter Android iOS web

Flutter widget that automatically resizes text to fit perfectly within its bounds.

2.1.0 #

  • Added textKey parameter

2.0.2+1 #

  • Fixed screenshots

2.0.2 #

  • Fixed bug where textScaleFactor was not taken into account (thanks @Kavantix)

2.0.1 #

  • Allow fractional font sizes again
  • Fixed bug with wrapWords not working

2.0.0+2 #

  • Added logo

2.0.0 #

  • Significant performance improvements
  • Prevent word wrapping using wordWrap: false
  • Replacement widget in case of text overflow: overflowReplacement
  • Added strutStyle parameter from Text
  • Fixed problem in case the AutoSizeTextGroup changes
  • Improved documentation
  • Added many more tests

1.1.2 #

  • Fixed bug where system font scale was applied twice (thanks @jeffersonatsafe)

1.1.1 #

  • Fixed bug where setting the style of a TextSpan to null in AutoSizeText.rich didn't work (thanks @Koridev)
  • Allow minFontSize = 0

1.1.0 #

  • Added group parameter and AutoSizeGroup to synchronize multiple AutoSizeTexts
  • Fixed bug where minFontSize was not used correctly
  • Improved documentation

1.0.0 #

  • Library is used in multiple projects in production and is considered stable now.
  • Added more tests

0.3.0 #

  • Added textScaleFactor property with fallback to MediaQuery.textScaleFactorOf() (thanks @jeroentrappers)

0.2.2 #

  • Fixed tests
  • Improved documentation

0.2.1 #

  • Fixed problem with minFontSize and maxFontSize (thanks @apaatsio)

0.2.0 #

  • Added support for Rich Text using AutoSizeText.rich() with one or multiple TextSpans.
  • Improved text size calculation (using textScaleFactor)

0.1.0 #

  • Fixed documentation (thanks @g-balas)
  • Added tests

0.0.2 #

  • Fixed documentation
  • Added example

0.0.1 #

  • First Release
895
likes
110
pub points
99%
popularity

Flutter widget that automatically resizes text to fit perfectly within its bounds.

Repository (GitHub)
View/report issues

Documentation

API reference

Uploader

simonleier@gmail.com

License

MIT (LICENSE)

Dependencies

flutter

More

Packages that depend on auto_size_text