maintainLabelSize property

bool maintainLabelSize
final

Whether the input field's size should always be greater than or equal to the size of the label or labelText, even if the label or labelText are not visible.

The InputDecorator widget ignores label and labelText during layout when this flag is set to false.

Defaults to false for compatibility reason.

Implementation

final bool maintainLabelSize;