FTextFieldStateStyle class

A FTextField state's style.

Implemented types
Mixed-in types
Implementers

Constructors

FTextFieldStateStyle({required TextStyle labelTextStyle, required TextStyle contentTextStyle, required TextStyle hintTextStyle, required TextStyle descriptionTextStyle, required FTextFieldBorderStyle focusedStyle, required FTextFieldBorderStyle unfocusedStyle})
Creates a FTextFieldStateStyle.
FTextFieldStateStyle.inherit({required Color contentColor, required Color hintColor, required Color focusedBorderColor, required Color unfocusedBorderColor, required FFormFieldStyle formFieldStyle, required FTypography typography, required FStyle style})
Creates a FTextFieldStateStyle that inherits its properties.

Properties

contentTextStyle TextStyle
The content's TextStyle.
final
descriptionTextStyle TextStyle
The help/error's TextStyle.
final
focusedStyle FTextFieldBorderStyle
The border's color when focused.
final
hashCode int
The hash code for this object.
no setteroverride
hintTextStyle TextStyle
The hint's TextStyle.
final
labelTextStyle TextStyle
The label's TextStyle.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
unfocusedStyle FTextFieldBorderStyle
The border's style when unfocused.
final

Methods

copyWith({TextStyle? labelTextStyle, TextStyle? contentTextStyle, TextStyle? hintTextStyle, TextStyle? descriptionTextStyle, FTextFieldBorderStyle? focusedStyle, FTextFieldBorderStyle? unfocusedStyle}) FTextFieldStateStyle
Returns a copy of this FTextFieldStateStyle with the given properties replaced.
override
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