isCollapsed property Null safety

bool isCollapsed
final

Whether the decoration is the same size as the input field.

A collapsed decoration cannot have labelText, errorText, an icon.

To create a collapsed input decoration, use InputDecoration.collapsed.

Implementation

final bool isCollapsed;