isCollapsed property
final
Whether the decoration is the same size as the input field.
A collapsed decoration cannot have InputDecoration.labelText, InputDecoration.errorText, or an InputDecoration.icon.
Implementation
final bool isCollapsed