Back to Blog
![]() !expands || (maxLines = null & minLines = null), "minLines can't be greater than maxLines", (maxLines = null) || (minLines = null) || (maxLines >= minLines), 'maxLengthEnforced is deprecated, use only maxLengthEnforcement',Īssert(maxLines = null || maxLines > 0),Īssert(minLines = null || minLines > 0), ![]() So I went ahead and made my own button class, and applied that using a Stack, here is my process:īutton class: class CircleIconButton extends StatelessWidget ) : assert(initialValue = null || controller = null), Here’s another answer expanding a bit on Lab’s answer, which wasn’t really doing it for me since FlatButton has a minimum width of 88.0, and thus the clear button was not appearing right-aligned with the TextField at all.
0 Comments
Read More
Leave a Reply. |