FdcErrorIndicatorOptions class
Configures how a component presents validation and data-entry errors.
Constructors
- FdcErrorIndicatorOptions({FdcErrorIndicatorMode mode = FdcErrorIndicatorMode.marker, FdcErrorIndicatorMarkerStyle markerStyle = const FdcErrorIndicatorMarkerStyle()})
-
Creates a FdcErrorIndicatorOptions.
const
Properties
- hashCode → int
-
The hash code for this object.
no setteroverride
- markerStyle → FdcErrorIndicatorMarkerStyle
-
Visual styling applied when mode is FdcErrorIndicatorMode.marker.
final
- mode → FdcErrorIndicatorMode
-
Mutually exclusive error presentation mode.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- showsInline → bool
-
Whether mode selects inline message presentation.
no setter
- showsMarker → bool
-
Whether mode selects compact marker presentation.
no setter
- showsNothing → bool
-
Whether validation feedback is disabled.
no setter
Methods
-
copyWith(
{FdcErrorIndicatorMode? mode, FdcErrorIndicatorMarkerStyle? markerStyle}) → FdcErrorIndicatorOptions - Creates a copy with selected values replaced.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override