maintainHintHeight property

  1. @Deprecated('Use maintainHintSize instead. ' 'This will maintain both hint height and hint width. ' 'This feature was deprecated after v3.28.0-2.0.pre.')
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

@Deprecated(
  'Use maintainHintSize instead. '
  'This will maintain both hint height and hint width. '
  'This feature was deprecated after v3.28.0-2.0.pre.',
)
final bool maintainHintHeight;