FTextFieldStyle class final
FTextFieldStyle's style.
- Mixed-in types
Constructors
- FTextFieldStyle({required Brightness keyboardAppearance, required FLabelLayoutStyle labelLayoutStyle, required FTextFieldStateStyle enabledStyle, required FTextFieldStateStyle disabledStyle, required FTextFieldErrorStyle errorStyle, Color cursorColor = CupertinoColors.activeBlue, EdgeInsets contentPadding = const EdgeInsets.symmetric(horizontal: 14, vertical: 14), EdgeInsets scrollPadding = const EdgeInsets.all(20)})
- Creates a FTextFieldStyle.
- FTextFieldStyle.inherit({required FColorScheme colorScheme, required FTypography typography, required FStyle style})
- Creates a FTextFieldStyle that inherits its properties.
Properties
- contentPadding → EdgeInsets
-
The padding surrounding this text field's content.
final
- cursorColor → Color
-
The color of the cursor. Defaults to CupertinoColors.activeBlue.
final
- disabledStyle → FTextFieldStateStyle
-
The style when this text field is enabled.
final
- enabledStyle → FTextFieldStateStyle
-
The style when this text field is enabled.
final
- errorStyle → FTextFieldErrorStyle
-
The style when this text field has an error.
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- keyboardAppearance → Brightness
-
The appearance of the keyboard. Defaults to FColorScheme.brightness.
final
- labelLayoutStyle → FLabelLayoutStyle
-
The label's layout style.
final
- labelStyle → FLabelStyle
-
The label style.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- scrollPadding → EdgeInsets
-
Configures padding to edges surrounding a Scrollable when this text field scrolls into view.
final
Methods
-
copyWith(
{Brightness? keyboardAppearance, Color? cursorColor, EdgeInsets? contentPadding, EdgeInsets? scrollPadding, FLabelLayoutStyle? labelLayoutStyle, FTextFieldStateStyle? enabledStyle, FTextFieldStateStyle? disabledStyle, FTextFieldErrorStyle? errorStyle}) → FTextFieldStyle - Returns a copy of this FTextFieldStyle with the given properties replaced.
-
debugFillProperties(
DiagnosticPropertiesBuilder properties) → void -
Add additional properties associated with the node.
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toDiagnosticsNode(
{String? name, DiagnosticsTreeStyle? style}) → DiagnosticsNode -
Returns a debug representation of the object that is used by debugging
tools and by DiagnosticsNode.toStringDeep.
inherited
-
toString(
{DiagnosticLevel minLevel = DiagnosticLevel.info}) → String -
A string representation of this object.
inherited
-
toStringShort(
) → String -
A brief description of this object, usually just the runtimeType and the
hashCode.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override