hasFloatingPlaceholder property

bool hasFloatingPlaceholder
final

Whether the label floats on focus.

If this is false, the placeholder disappears when the input has focus or inputted text. If this is true, the placeholder will rise to the top of the input when the input has focus or inputted text.

Defaults to true.

Implementation

final bool hasFloatingPlaceholder