FTextFieldErrorStyle class final

A FTextField error state's style.

Inheritance
Implemented types

Constructors

FTextFieldErrorStyle({required TextStyle errorTextStyle, required TextStyle labelTextStyle, required TextStyle contentTextStyle, required TextStyle hintTextStyle, required TextStyle descriptionTextStyle, required FTextFieldBorderStyle focusedStyle, required FTextFieldBorderStyle unfocusedStyle, Duration animationDuration = const Duration(milliseconds: 100)})
Creates a FTextFieldErrorStyle.
FTextFieldErrorStyle.inherit({required FFormFieldErrorStyle formFieldErrorStyle, required Color contentColor, required Color hintColor, required Color focusedBorderColor, required Color unfocusedBorderColor, required FTypography typography, required FStyle style})
Creates a FTextFieldErrorStyle that inherits its properties.

Properties

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

Methods

copyWith({TextStyle? errorTextStyle, TextStyle? labelTextStyle, TextStyle? contentTextStyle, TextStyle? hintTextStyle, TextStyle? descriptionTextStyle, FTextFieldBorderStyle? focusedStyle, FTextFieldBorderStyle? unfocusedStyle, Duration? animationDuration}) FTextFieldErrorStyle
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