Open GabrieleSuzart opened 3 years ago
When I set a prefix, with fullwidth: false, the width doesn't consider the length of the prefix.
fullwidth: false,
return AutoSizeTextField( controller: controller, maxLines: 1, fullwidth: false, decoration: InputDecoration( prefix: Text('R\$'), ), );
The calculated width is added to the width of the prefix
auto_size_text_field: ^1.0.0-nullsafety.1
https://user-images.githubusercontent.com/30198542/127194092-3e5b73fe-b330-4141-889f-6a8c1bd8b10a.mov
Thank you @GabrieleSuzart ! I will take a look.
Problem
When I set a prefix, with
fullwidth: false,
the width doesn't consider the length of the prefix.Code
Expected
The calculated width is added to the width of the prefix
Version
auto_size_text_field: ^1.0.0-nullsafety.1
Record
https://user-images.githubusercontent.com/30198542/127194092-3e5b73fe-b330-4141-889f-6a8c1bd8b10a.mov