InputDecorationTheme

hasFloatingPlaceholder:

false

);

// Field access

inputDecorationTheme

hasFloatingPlaceholder

// copyWith

inputDecorationTheme

copyWith

hasFloatingPlaceholder:

false

);

inputDecorationTheme

copyWith

hasFloatingPlaceholder:

true

);

Code after migration:

// InputDecoration

// Base constructor

InputDecoration

floatingLabelBehavior:

FloatingLabelBehavior

auto

);

InputDecoration

floatingLabelBehavior:

FloatingLabelBehavior

never

);