Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Text should resize itself after reaching MaxLines not after 1 line #35

Open
Bawen34 opened this issue Aug 3, 2022 · 1 comment
Open

Comments

@Bawen34
Copy link

Bawen34 commented Aug 3, 2022

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,
            ),
@TDSSSzero
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants