Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
F
Front-End
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
abdullh.alsoleman
Front-End
Commits
86814cab
Unverified
Commit
86814cab
authored
Aug 27, 2020
by
Haeseok Lee
Committed by
GitHub
Aug 27, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed the description of the focusColor property included in input_decorator (#63981)
parent
68d3e742
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
23 deletions
+4
-23
input_decorator.dart
packages/flutter/lib/src/material/input_decorator.dart
+4
-23
No files found.
packages/flutter/lib/src/material/input_decorator.dart
View file @
86814cab
...
@@ -1823,9 +1823,7 @@ class InputDecorator extends StatefulWidget {
...
@@ -1823,9 +1823,7 @@ class InputDecorator extends StatefulWidget {
/// Whether the input field has focus.
/// Whether the input field has focus.
///
///
/// Determines the position of the label text and the color and weight of the
/// 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
/// border.
/// [InputDecoration.focusColor] with [InputDecoration.fillColor] when
/// focused, and [InputDecoration.fillColor] when not.
///
///
/// Defaults to false.
/// Defaults to false.
///
///
...
@@ -1843,12 +1841,6 @@ class InputDecorator extends StatefulWidget {
...
@@ -1843,12 +1841,6 @@ class InputDecorator extends StatefulWidget {
/// true, and [InputDecoration.fillColor] when not.
/// true, and [InputDecoration.fillColor] when not.
///
///
/// Defaults to false.
/// 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
;
final
bool
isHovering
;
/// If true, the height of the input field will be as large as possible.
/// If true, the height of the input field will be as large as possible.
...
@@ -3067,8 +3059,7 @@ class InputDecoration {
...
@@ -3067,8 +3059,7 @@ class InputDecoration {
/// If true the decoration's container is filled with [fillColor].
/// If true the decoration's container is filled with [fillColor].
///
///
/// When [InputDecorator.isFocused] is true, the [focusColor] is also blended into the final
/// When [InputDecorator.isHovering] is true, the [hoverColor] is also blended
/// fill color. When [InputDecorator.isHovering] is true, the [hoverColor] is also blended
/// into the final fill color.
/// into the final fill color.
///
///
/// Typically this field set to true if [border] is an
/// Typically this field set to true if [border] is an
...
@@ -3084,8 +3075,7 @@ class InputDecoration {
...
@@ -3084,8 +3075,7 @@ class InputDecoration {
/// The base fill color of the decoration's container color.
/// The base fill color of the decoration's container color.
///
///
/// When [InputDecorator.isFocused] is true, the [focusColor] is also blended
/// When [InputDecorator.isHovering] is true, the
/// into the final fill color. When [InputDecorator.isHovering] is true, the
/// [hoverColor] is also blended into the final fill color.
/// [hoverColor] is also blended into the final fill color.
///
///
/// By default the fillColor is based on the current [Theme].
/// By default the fillColor is based on the current [Theme].
...
@@ -3093,16 +3083,8 @@ class InputDecoration {
...
@@ -3093,16 +3083,8 @@ class InputDecoration {
/// The decoration's container is the area which is filled if [filled] is true
/// 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
/// and bordered per the [border]. It's the area adjacent to [icon] and above
/// the widgets that contain [helperText], [errorText], and [counterText].
/// the widgets that contain [helperText], [errorText], and [counterText].
///
/// This color is blended with [focusColor] if the decoration is focused.
final
Color
fillColor
;
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].
/// By default the [focusColor] is based on the current [Theme].
///
///
/// The decoration's container is the area which is filled if [filled] is
/// The decoration's container is the area which is filled if [filled] is
...
@@ -3115,8 +3097,7 @@ class InputDecoration {
...
@@ -3115,8 +3097,7 @@ class InputDecoration {
/// is being hovered over by a mouse.
/// is being hovered over by a mouse.
///
///
/// If [filled] is true, the color is blended with [fillColor] and fills the
/// If [filled] is true, the color is blended with [fillColor] and fills the
/// decoration's container. When [InputDecorator.isFocused] is true, the
/// decoration's container.
/// [focusColor] is also blended into the final fill color.
///
///
/// If [filled] is false, and [InputDecorator.isFocused] is false, the color
/// If [filled] is false, and [InputDecorator.isFocused] is false, the color
/// is blended over the [enabledBorder]'s color.
/// is blended over the [enabledBorder]'s color.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment