floatingLabelBehavior property
Controls when the floating label floats up.
Only applies when labelText is provided. Defaults to
FloatingLabelBehavior.auto (floats when the dropdown has a value or is
open).
Implementation
final FloatingLabelBehavior floatingLabelBehavior;