labelAnimated property

bool get labelAnimated

Whether the floating label is animated to float above the input box.

Implementation

bool get labelAnimated => floatingLabelVisible && (focused || hasVisibleText);