FTextFieldStyle class final

FTextFieldStyle's style.

Implemented types
Mixed-in types
Available extensions

Constructors

FTextFieldStyle.new({required Brightness keyboardAppearance, required FLabelLayoutStyle labelLayoutStyle, required FButtonStyle clearButtonStyle, required FTextFieldStateStyle enabledStyle, required FTextFieldStateStyle disabledStyle, required FTextFieldErrorStyle errorStyle, Color cursorColor = CupertinoColors.activeBlue, EdgeInsetsGeometry contentPadding = const EdgeInsets.symmetric(horizontal: 14, vertical: 14), EdgeInsetsGeometry clearButtonPadding = const EdgeInsetsDirectional.only(end: 4), 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

clearButtonPadding EdgeInsetsGeometry
The padding surrounding the clear button. Defaults to EdgeInsetsDirectional.only(end: 2).
final
clearButtonStyle FButtonStyle
The clear button's style when FTextField.clearable is true.
final
contentPadding EdgeInsetsGeometry
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 setterinherited
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, EdgeInsetsGeometry? contentPadding, EdgeInsetsGeometry? clearButtonPadding, EdgeInsets? scrollPadding, FLabelLayoutStyle? labelLayoutStyle, FButtonStyle? clearButtonStyle, FTextFieldStateStyle? enabledStyle, FTextFieldStateStyle? disabledStyle, FTextFieldErrorStyle? errorStyle}) FTextFieldStyle
Returns a copy of this FTextFieldStyle with the given properties replaced.
inherited
debugFillProperties(DiagnosticPropertiesBuilder properties) → void
Add additional properties associated with the node.
inherited
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
transform(T function(T)) → T

Available on T, provided by the FTransformables extension

Transform this T using the given function.

Operators

operator ==(Object other) bool
The equality operator.
inherited