Results for “InputDecorator”
Full-text search across Boring Doc explanations, official documentation pages, the Flutter API index and every indexed version change.
Concepts
- Common Flutter errors and how to fix them3.47.7widgets
make the content scroll. 'Vertical viewport was given unbounded height' and 'An InputDecorator ... cannot have an unbounded width': a ListView inside a Column, or a TextField inside
- Forms and validation3.47.7forms
Wrap your fields in a Form, give it a GlobalKey , and put
Guides
- Common Flutter errorsdoc
How to recognize and resolve common Flutter framework errors. Introduction This page
- Create and style a text fielddoc
label, icon, inline hint text, and error text by supplying an InputDecoration as the decoration property of the TextField . To remove the decoration entirely (including the underline
API reference
- InputDecoratorclass
Defines the appearance of a Material Design text field. material.InputDecorator InputDecorator Input Decorator class material
- InputDecorator.newconstructor
widget that displays a border, labels, and icons, for a TextField. material.InputDecorator.InputDecorator.new InputDecorator new Input Decorator.new constructor material
- InputDecorationThemeclass
Defines the default appearance of InputDecorators. material.InputDecorationTheme InputDecorationTheme Input Decoration Theme class material
- InputDecorationThemeDataclass
Defines the default appearance of InputDecorators. material.InputDecorationThemeData InputDecorationThemeData Input Decoration Theme Data class material
- InputDecorationTheme.newconstructor
Creates a InputDecorationTheme that controls visual parameters for descendant InputDecorators. material.InputDecorationTheme.InputDecorationTheme.new InputDecorationTheme new Input Decoration Theme.new constructor material
- InputDecorationThemeData.newconstructor
Creates a InputDecorationThemeData that can be used to override default properties in a InputDecorationTheme widget. material.InputDecorationThemeData.InputDecorationThemeData.new InputDecorationThemeData new Input Decoration Theme Data.new constructor material
- InputDecorationclass
labels, icons, and styles used to decorate a Material Design text field. material.InputDecoration InputDecoration Input Decoration class material
- InputDecoration.collapsedconstructor
Defines an InputDecorator that is the same size as the input field. material.InputDecoration.InputDecoration.collapsed InputDecoration collapsed Input Decoration.collapsed constructor material
- InputDecoration.newconstructor
labels, icons, and styles used to decorate a Material Design text field. material.InputDecoration.InputDecoration.new InputDecoration new Input Decoration.new constructor material
- InputBorderclass
Defines the appearance of an InputDecorator's border. material.InputBorder InputBorder Input Border class material
- FloatingLabelAlignmentclass
Defines where the floating label should be displayed within an InputDecorator. material.FloatingLabelAlignment FloatingLabelAlignment Floating Label Alignment class material
- ShapedInputBorderclass
Draws a custom shape around an InputDecorator's container. material.ShapedInputBorder ShapedInputBorder Shaped Input Border class material
- OutlineInputBorderclass
Draws a rounded rectangle around an InputDecorator's container. material.OutlineInputBorder OutlineInputBorder Outline Input Border class material
- UnderlineInputBorderclass
Draws a horizontal line at the bottom of an InputDecorator's container and defines the container's shape. material.UnderlineInputBorder UnderlineInputBorder Underline Input Border class material
- InputBorder.newconstructor
Creates a border for an InputDecorator. material.InputBorder.InputBorder.new InputBorder new Input Border.new constructor material
- UnderlineInputBorder.newconstructor
Creates an underline border for an InputDecorator. material.UnderlineInputBorder.UnderlineInputBorder.new UnderlineInputBorder new Underline Input Border.new constructor material
- ShapedInputBorder.newconstructor
Creates a shaped outline border for an InputDecorator. material.ShapedInputBorder.ShapedInputBorder.new ShapedInputBorder new Shaped Input Border.new constructor material
- OutlineInputBorder.newconstructor
Creates a rounded rectangle outline border for an InputDecorator. material.OutlineInputBorder.OutlineInputBorder.new OutlineInputBorder new Outline Input Border.new constructor material
- DropdownButtonFormField.newconstructor
Creates a DropdownButton widget that is a FormField, wrapped in an InputDecorator. material.DropdownButtonFormField.DropdownButtonFormField.new DropdownButtonFormField new Dropdown Button Form Field.new constructor material
- material.DropdownMenuDecorationBuildertypedef
type of builder function used by DropdownMenu.decorationBuilder to build the InputDecoration passed to the inner text field. material.DropdownMenuDecorationBuilder DropdownMenuDecorationBuilder Dropdown Menu Decoration Builder typedef material
Version changes
- Component theme normalization updates3.35.0breaking
AppBarTheme`, `BottomAppBarTheme` and `InputDecorationTheme` were refactored to conform to Flutter's conventions for component themes. `AppBarThemeData`, `BottomAppBarThemeData` and `InputDecorationThemeData` were added to define overrides for the defaults
- Deprecate InputDecoration.maintainHintHeight in favor of InputDecoration.maintainHintSize3.32.0deprecated
InputDecoration.maintainHintHeight` parameter was deprecated in favor of the `InputDecoration.maintainHintSize` parameter. The `InputDecoration.maintainHintHeight` is deprecated in favor of `InputDecoration.maintainHintSize` which makes both the intrinsic width and height depend
- Remove invalid parameters for InputDecoration.collapsed3.27.0removed
InputDecoration.collapsed` invalid parameters `floatingLabelBehavior` and `floatingLabelAlignment` are deprecated. To migrate, remove usage of `floatingLabelBehavior` and `floatingLabelAlignment` parameters when calling the `InputDecoration.collapsed` constructor. Those parameters had no effect. Code
- Fix InputDecorator label padding3.38.0bugfix
InputDecorator label padding (Material, by @bleroux). InputDecorator
- Fix InputDecoration helper/error padding is not compliant3.38.0bugfix
InputDecoration helper/error padding is not compliant (Material, by @bleroux). InputDecoration
- Fix InputDecoration does not apply errorStyle to error3.38.0bugfix
InputDecoration does not apply errorStyle to error (Material, by @bleroux). InputDecoration
- Fix TextFormField does not inherit local InputDecorationTheme3.38.0bugfix
TextFormField does not inherit local InputDecorationTheme (Material, by @bleroux). TextFormField InputDecorationTheme
- Fix DropdownButtonFormField does not inherit local InputDecorationTheme3.41.0bugfix
DropdownButtonFormField does not inherit local InputDecorationTheme (Material, by @bleroux). DropdownButtonFormField InputDecorationTheme
- Fix TextField does not inherit local InputDecorationTheme3.41.0bugfix
TextField does not inherit local InputDecorationTheme (Material, by @bleroux). TextField InputDecorationTheme
- Fix DateRangePickerDialog does not inherit local InputDecorationTheme3.41.0bugfix
DateRangePickerDialog does not inherit local InputDecorationTheme (Material, by @bleroux). DateRangePickerDialog InputDecorationTheme
- Fix InputDatePickerFormField does not inherit local InputDecorationTheme3.41.0bugfix
InputDatePickerFormField does not inherit local InputDecorationTheme (Material, by @bleroux). InputDatePickerFormField InputDecorationTheme
- Make sure that an InputDecorator doesn't crash in 0x0 environment3.41.0bugfix
Make sure that an InputDecorator doesn't crash in 0x0 environment (Material, by @ahmedsameha1). InputDecorator
- Add tests for InputDecoration borders (M3 and theme normalization)3.38.0new-feature
tests for InputDecoration borders (M3 and theme normalization) (Material, by @bleroux). InputDecoration
- Allow label to be used to compute InputDecorator Intrinsic width3.41.0new-feature
Allow label to be used to compute InputDecorator Intrinsic width (Material, by @bleroux). InputDecorator
- Deprecated API removed after v2.22.5.0removed
life after the 2.2 stable release have been removed. InputDecoration InputDecorationTheme FloatingLabelBehavior.auto FloatingLabelBehavior.never FloatingLabelBehavior.always FloatingLabelBehavior TextTheme TextStyle Typography