never

);

// Field access

inputDecorationTheme

floatingLabelBehavior

// copyWith

inputDecorationTheme

copyWith

floatingLabelBehavior:

FloatingLabelBehavior

never

);

inputDecorationTheme

copyWith

floatingLabelBehavior:

FloatingLabelBehavior

auto

);

References

API documentation:

InputDecoration

InputDecorationTheme

FloatingLabelBehavior

Relevant issues:

InputDecoration: option to always float label

Relevant PRs:

Deprecated in #46115

Removed in #83923

TextTheme