fitted_text_field_container 1.3.0 fitted_text_field_container: ^1.3.0 copied to clipboard
A Container that automatically resizes to fit a the text value of a Material TextField.
1.3.0 #
- Added
calculator
property to allow custom width calculations - Breaking Change. Removed
minWidth
,maxWidth
,prefixIconWidth
,suffixIconWidth
properties (they can be replaced with the custom width calculator) - Breaking Change. Defaults to collapse width to visible text instead of keeping the hint text (Thanks AdamJonsson for PR #2)
- Include padding into calculations (Thanks David King for PR #3)
1.2.1 #
- Fixed exception thrown when
textDirection
is not set - Fixed incorect calculations due to default stules not being available durint initialisation
1.2.0 #
1.1.0 #
- Added
prefixIconWidth
for specifying the width of the prefix icon (if used) - Added
suffixIconWidth
for specifying the width of the suffix icon (if used) - Added
minWidth
property for specifying a minimum width - Added
maxWidth
property for specifying a maximum width - Minimum width takes
labelText
andhintText
into account (if specified)
1.0.0+3 #
- Updated demo & documentation
1.0.0+2 #
- Formatted code
1.0.0+1 #
- Initial release - take 2
1.0.0 #
- Initial release