auto_size_text_field icon indicating copy to clipboard operation
auto_size_text_field copied to clipboard

Text should resize itself after reaching MaxLines not after 1 line

Open Bawen34 opened this issue 2 years ago • 1 comments

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(
              controller: sessionDescription,
              maxLines: 3,
              minLines: 3,
              keyboardType: TextInputType.multiline,
              decoration: InputDecoration(                
                  alignLabelWithHint: true,               
                  labelText: 'Description'),             
              textAlign: TextAlign.left,
              minFontSize: 12,
            ),

Bawen34 avatar Aug 03 '22 08:08 Bawen34

yeah,I have this question too. This behavior is not consistent with the auto_size_text

TDSSSzero avatar Aug 16 '23 09:08 TDSSSzero