Unverified Commit 86814cab authored by Haeseok Lee's avatar Haeseok Lee Committed by GitHub

Fixed the description of the focusColor property included in input_decorator (#63981)

parent 68d3e742
......@@ -1823,9 +1823,7 @@ class InputDecorator extends StatefulWidget {
/// Whether the input field has focus.
///
/// Determines the position of the label text and the color and weight of the
/// border, as well as the container fill color, which is a blend of
/// [InputDecoration.focusColor] with [InputDecoration.fillColor] when
/// focused, and [InputDecoration.fillColor] when not.
/// border.
///
/// Defaults to false.
///
......@@ -1843,12 +1841,6 @@ class InputDecorator extends StatefulWidget {
/// true, and [InputDecoration.fillColor] when not.
///
/// Defaults to false.
///
/// See also:
///
/// * [InputDecoration.focusColor], which is also blended into the hover
/// color and fill color when [isFocused] is true to produce the final
/// color.
final bool isHovering;
/// If true, the height of the input field will be as large as possible.
......@@ -3067,8 +3059,7 @@ class InputDecoration {
/// If true the decoration's container is filled with [fillColor].
///
/// When [InputDecorator.isFocused] is true, the [focusColor] is also blended into the final
/// fill color. When [InputDecorator.isHovering] is true, the [hoverColor] is also blended
/// When [InputDecorator.isHovering] is true, the [hoverColor] is also blended
/// into the final fill color.
///
/// Typically this field set to true if [border] is an
......@@ -3084,8 +3075,7 @@ class InputDecoration {
/// The base fill color of the decoration's container color.
///
/// When [InputDecorator.isFocused] is true, the [focusColor] is also blended
/// into the final fill color. When [InputDecorator.isHovering] is true, the
/// When [InputDecorator.isHovering] is true, the
/// [hoverColor] is also blended into the final fill color.
///
/// By default the fillColor is based on the current [Theme].
......@@ -3093,16 +3083,8 @@ class InputDecoration {
/// The decoration's container is the area which is filled if [filled] is true
/// and bordered per the [border]. It's the area adjacent to [icon] and above
/// the widgets that contain [helperText], [errorText], and [counterText].
///
/// This color is blended with [focusColor] if the decoration is focused.
final Color fillColor;
/// The color to blend with [fillColor] and fill the decoration's container
/// with, if [filled] is true and the container has input focus.
///
/// When [InputDecorator.isHovering] is true, the [hoverColor] is also blended into the final
/// fill color.
///
/// By default the [focusColor] is based on the current [Theme].
///
/// The decoration's container is the area which is filled if [filled] is
......@@ -3115,8 +3097,7 @@ class InputDecoration {
/// is being hovered over by a mouse.
///
/// If [filled] is true, the color is blended with [fillColor] and fills the
/// decoration's container. When [InputDecorator.isFocused] is true, the
/// [focusColor] is also blended into the final fill color.
/// decoration's container.
///
/// If [filled] is false, and [InputDecorator.isFocused] is false, the color
/// is blended over the [enabledBorder]'s color.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment