What Compose's TextField sets in code (behavior.yaml, verified at the
pin).
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
- affixPadding → const Dp
-
The gap between a prefix or suffix and the input
(PrefixSuffixTextPadding). (
TextFieldImpl.ktline 2244.) - cutoutPadding → const Dp
-
The gap the outline leaves on each side of a cut-out label
(OutlinedTextFieldInnerPadding). (
OutlinedTextField.ktline 594.) - fadeMotion → const ExpressiveMotionKey
-
The spring the placeholder fades on (but for the two slow legs), the
prefix and suffix fade on, and every colour changes on (label, container,
indicator, outline). (
TextFieldImpl.ktline 2076.) - indicatorWidthMotion → const ExpressiveMotionKey
-
The spring the filled indicator and the outline thicken and thin on as
focus comes and goes. (
TextFieldImpl.ktline 2133.) - labelHeightEasingX1 → const double
-
The first control point's x of the easing the inside label's height
allowance follows (EasingEmphasizedAccelerateCubicBezier).
(
MotionTokens.ktline 44.) - labelHeightEasingX2 → const double
-
The second control point's x of the easing the inside label's height
allowance follows (EasingEmphasizedAccelerateCubicBezier).
(
MotionTokens.ktline 44.) - labelHeightEasingY1 → const double
-
The first control point's y of the easing the inside label's height
allowance follows (EasingEmphasizedAccelerateCubicBezier).
(
MotionTokens.ktline 44.) - labelHeightEasingY2 → const double
-
The second control point's y of the easing the inside label's height
allowance follows (EasingEmphasizedAccelerateCubicBezier).
(
MotionTokens.ktline 44.) - labelMotion → const ExpressiveMotionKey
-
The spring the label moves and resizes on between expanded and minimized.
(
TextFieldImpl.ktline 2037.) - labelVerticalPadding → const Dp
-
A filled field with its label inside: from the top edge to the minimized
label, and from the input to the bottom edge
(TextFieldWithLabelVerticalPadding). (
TextField.ktline 843.) - minFocusedLabelLineHeight → const Dp
-
The minimized label's smallest height (MinFocusedLabelLineHeight).
(
TextFieldImpl.ktline 2248.) - minHeight → const Dp
-
The smallest height of a text field, supporting text included
(TextFieldDefaults.MinHeight and OutlinedTextFieldDefaults.MinHeight).
(
TextFieldDefaults.ktline 83.) - minSupportingTextLineHeight → const Dp
-
The supporting text's smallest height (MinSupportingTextLineHeight).
(
TextFieldImpl.ktline 2250.) - minTextLineHeight → const Dp
-
The input's, placeholder's and affixes' smallest height, and the expanded
label's (MinTextLineHeight). (
TextFieldImpl.ktline 2246.) - minWidth → const Dp
-
The smallest width of a text field (TextFieldDefaults.MinWidth and
OutlinedTextFieldDefaults.MinWidth). (
TextFieldDefaults.ktline 89.) - padding → const Dp
-
The content's start and end padding, and its top and bottom padding with
no label inside (TextFieldPadding). (
TextFieldImpl.ktline 2236.) - roundedShape → const ExpressiveShapeKey
-
The Expressive rounded shape of a filled or outlined field
(TextFieldDefaults.roundedShape, OutlinedTextFieldDefaults.roundedShape;
beside a TODO until a token states it). (
TextFieldDefaults.ktline 77.) - slowFadeMotion → const ExpressiveMotionKey
-
The spring the placeholder fades on when the field gains focus empty, and
when its text is cleared unfocused. (
TextFieldImpl.ktline 2050.) - supportingTopPadding → const Dp
-
The gap between the container and the supporting text
(SupportingTopPadding). (
TextFieldImpl.ktline 2242.) - tonalContainerColor → const ExpressiveColorRole
-
A tonal filled field's container, focused or not (beside a TODO until a
token states it). (
TextFieldDefaults.ktline 754.) - tonalErrorContainerColor → const ExpressiveColorRole
-
A tonal field's container in error, filled or outlined.
(
TextFieldDefaults.ktline 808.) - tonalFocusedTextColor → const ExpressiveColorRole
-
A tonal field's input text when focused or in error, and its supporting
text. (
TextFieldDefaults.ktline 768.) - tonalOutlineColor → const ExpressiveColorRole
-
A tonal outlined field's outline when it is not in error, focused or not.
(
TextFieldDefaults.ktline 1633.) - tonalOutlinedContainerColor → const ExpressiveColorRole
-
A tonal outlined field's container, focused or not.
(
TextFieldDefaults.ktline 1632.)