maintainHintHeight property

bool maintainHintHeight
final

Whether the input field's height should always be greater than or equal to the height of the hintText, even if the hintText is not visible.

The InputDecorator widget ignores hintText during layout when it's not visible, if this flag is set to false.

Defaults to true.

Implementation

final bool maintainHintHeight;