auto_size_text_field icon indicating copy to clipboard operation
auto_size_text_field copied to clipboard

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

Results 13 auto_size_text_field issues
Sort by recently updated
recently updated
newest added

added onTapOutside, `focusNode.addListener` doesn't work when tap on another button

This code makes the text overflow the widget in physical Android devices: ``` import 'package:flutter/material.dart'; import 'package:flutter/services.dart'; import 'package:auto_size_text_field/auto_size_text_field.dart'; void main() { runApp(MyApp()); } class MyApp extends StatelessWidget { @override...

wontfix

Auto size doesn't appear to be working with the hint field. Is this not the expected use case?

enhancement

Hi, is there any way to select and copy text from AutoSizeText widget like SelectableText widget do?

The documentation on the controller parameter says that `If null, this widget will create its own [TextEditingController]` but it is not the case. If a null controller is provided, it...

Hello, When using the widget in multiline with a maxLines parameter, the text resize itself after reaching the end of the first line, not after reaching the maxLines ``` AutoSizeTextField(...

Here's a repo with a minimal reproduction: https://github.com/gentunian/flutter-autosizetextfield-bug When a rebuild is trigger, the auto size won't work. Also, I have seeing that while using the ios simulator, the autosize...

investigating

Text field content is cutted cause cursor width. Default cursor width is 2 and in this case cut is small, but if set cursor width 4, text is more cutted.

thanks for the package , but how can i validate this field because it not working with me

I started converting some of our TextField() widgets into AutoSizeTextField() widgets. In our TextField() widgets, we allowed for a null decoration like this: ``` Flexible( child: TextField( controller: _dateOrTaskNameController, decoration:...

enhancement
Work in Progress (WIP)