FTextFieldStateStyle class

A FTextField state's style.

Implemented types
Mixed-in types
Implementers
Available extensions

Constructors

FTextFieldStateStyle.new({required TextStyle labelTextStyle, required TextStyle contentTextStyle, required TextStyle hintTextStyle, required TextStyle descriptionTextStyle, required TextStyle counterTextStyle, 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
counterTextStyle 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 setterinherited
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? descriptionTextStyle, TextStyle? counterTextStyle, TextStyle? contentTextStyle, TextStyle? hintTextStyle, FTextFieldBorderStyle? focusedStyle, FTextFieldBorderStyle? unfocusedStyle}) FTextFieldStateStyle
Returns a copy of this FTextFieldStateStyle 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