@@ -2500,11 +2500,10 @@ class InputDecoration {
25002500 /// Creates a bundle of the border, labels, icons, and styles used to
25012501 /// decorate a Material Design text field.
25022502 ///
2503- /// Unless specified by [ThemeData.inputDecorationTheme] ,
2504- /// [InputDecorator] defaults [isDense] to false, and [filled] to false,
2505- /// and [maxLines] to 1. The default border is an instance
2506- /// of [UnderlineInputBorder] . If [border] is [InputBorder.none] then
2507- /// no border is drawn.
2503+ /// Unless specified by [ThemeData.inputDecorationTheme] , [InputDecorator]
2504+ /// defaults [isDense] to false and [filled] to false. The default border is
2505+ /// an instance of [UnderlineInputBorder] . If [border] is [InputBorder.none]
2506+ /// then no border is drawn.
25082507 ///
25092508 /// The [enabled] argument must not be null.
25102509 ///
@@ -2659,9 +2658,9 @@ class InputDecoration {
26592658 /// Text that provides context about the [InputDecorator.child] 's value, such
26602659 /// as how the value will be used.
26612660 ///
2662- /// If non-null, the text is displayed below the input [ child] , in the same
2663- /// location as [errorText] . If a non-null [errorText] value is specified then
2664- /// the helper text is not shown.
2661+ /// If non-null, the text is displayed below the [InputDecorator. child] , in
2662+ /// the same location as [errorText] . If a non-null [errorText] value is
2663+ /// specified then the helper text is not shown.
26652664 final String helperText;
26662665
26672666 /// The style to use for the [helperText] .
@@ -2683,9 +2682,9 @@ class InputDecoration {
26832682 /// Text that suggests what sort of input the field accepts.
26842683 ///
26852684 /// Displayed on top of the [InputDecorator.child] (i.e., at the same location
2686- /// on the screen where text may be entered in the input [ child] ) when the
2687- /// input [isEmpty] and either (a) [labelText] is null or (b) the input has
2688- /// the focus.
2685+ /// on the screen where text may be entered in the [InputDecorator. child] )
2686+ /// when the input [isEmpty] and either (a) [labelText] is null or (b) the
2687+ /// input has the focus.
26892688 final String hintText;
26902689
26912690 /// The style to use for the [hintText] .
@@ -3081,8 +3080,8 @@ class InputDecoration {
30813080
30823081 /// If true the decoration's container is filled with [fillColor] .
30833082 ///
3084- /// When [isFocused] is true, the [focusColor] is also blended into the final
3085- /// fill color. When [isHovering] is true, the [hoverColor] is also blended
3083+ /// When [InputDecorator. isFocused] is true, the [focusColor] is also blended into the final
3084+ /// fill color. When [InputDecorator. isHovering] is true, the [hoverColor] is also blended
30863085 /// into the final fill color.
30873086 ///
30883087 /// Typically this field set to true if [border] is an
@@ -3098,9 +3097,9 @@ class InputDecoration {
30983097
30993098 /// The base fill color of the decoration's container color.
31003099 ///
3101- /// When [isFocused] is true, the [focusColor] is also blended into the final
3102- /// fill color. When [isHovering] is true, the [hoverColor] is also blended
3103- /// into the final fill color.
3100+ /// When [InputDecorator. isFocused] is true, the [focusColor] is also blended
3101+ /// into the final fill color. When [InputDecorator. isHovering] is true, the
3102+ /// [hoverColor] is also blended into the final fill color.
31043103 ///
31053104 /// By default the fillColor is based on the current [Theme] .
31063105 ///
@@ -3114,7 +3113,7 @@ class InputDecoration {
31143113 /// The color to blend with [fillColor] and fill the decoration's container
31153114 /// with, if [filled] is true and the container has input focus.
31163115 ///
3117- /// When [isHovering] is true, the [hoverColor] is also blended into the final
3116+ /// When [InputDecorator. isHovering] is true, the [hoverColor] is also blended into the final
31183117 /// fill color.
31193118 ///
31203119 /// By default the [focusColor] is based on the current [Theme] .
@@ -3129,11 +3128,11 @@ class InputDecoration {
31293128 /// is being hovered over by a mouse.
31303129 ///
31313130 /// If [filled] is true, the color is blended with [fillColor] and fills the
3132- /// decoration's container. When [isFocused] is true, the [focusColor] is also
3133- /// blended into the final fill color.
3131+ /// decoration's container. When [InputDecorator. isFocused] is true, the
3132+ /// [focusColor] is also blended into the final fill color.
31343133 ///
3135- /// If [filled] is false, and [isFocused] is false, the color is blended over
3136- /// the [enabledBorder] 's color.
3134+ /// If [filled] is false, and [InputDecorator. isFocused] is false, the color
3135+ /// is blended over the [enabledBorder] 's color.
31373136 ///
31383137 /// By default the [hoverColor] is based on the current [Theme] .
31393138 ///
@@ -3664,17 +3663,17 @@ class InputDecorationTheme with Diagnosticable {
36643663 /// The style to use for [InputDecoration.helperText] .
36653664 final TextStyle helperStyle;
36663665
3667- /// The maximum number of lines the [InputDecorator .helperText] can occupy.
3666+ /// The maximum number of lines the [InputDecoration .helperText] can occupy.
36683667 ///
3669- /// Defaults to null, which means that the [InputDecorator .helperText] will be
3670- /// limited to a single line with [TextOverflow.ellipsis] .
3668+ /// Defaults to null, which means that the [InputDecoration .helperText] will
3669+ /// be limited to a single line with [TextOverflow.ellipsis] .
36713670 ///
36723671 /// This value is passed along to the [Text.maxLines] attribute
36733672 /// of the [Text] widget used to display the helper.
36743673 ///
36753674 /// See also:
36763675 ///
3677- /// * [errorMaxLines] , the equivalent but for the [InputDecorator .errorText] .
3676+ /// * [errorMaxLines] , the equivalent but for the [InputDecoration .errorText] .
36783677 final int helperMaxLines;
36793678
36803679 /// The style to use for the [InputDecoration.hintText] .
@@ -3696,8 +3695,8 @@ class InputDecorationTheme with Diagnosticable {
36963695
36973696 /// The maximum number of lines the [InputDecoration.errorText] can occupy.
36983697 ///
3699- /// Defaults to null, which means that the [errorText] will be limited
3700- /// to a single line with [TextOverflow.ellipsis] .
3698+ /// Defaults to null, which means that the [InputDecoration. errorText] will be
3699+ /// limited to a single line with [TextOverflow.ellipsis] .
37013700 ///
37023701 /// This value is passed along to the [Text.maxLines] attribute
37033702 /// of the [Text] widget used to display the error.
0 commit comments