floatingLabelBehavior property

FloatingLabelBehavior get floatingLabelBehavior

Overrides the default value for InputDecoration.floatingLabelBehavior.

This property is obsolete and will be deprecated in a future release: please use the InputDecorationThemeData.floatingLabelBehavior property in data instead.

Implementation

FloatingLabelBehavior get floatingLabelBehavior =>
    _data != null ? _data.floatingLabelBehavior : _floatingLabelBehavior;