FieldCubitState<T> class

Implementers

Constructors

FieldCubitState({required T value, required String? error, required bool isErrorShown, required T initialValue})
const

Properties

error String?
final
hashCode int
The hash code for this object.
no setterinherited
initialValue → T
final
isErrorShown bool
final
isInitial bool
no setter
isValid bool
no setter
props List<Object?>
The list of properties that will be used to determine whether two instances are equal.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
shownError String?
no setter
stringify bool?
If set to true, the toString method will be overridden to output this instance's props.
no setterinherited
value → T
final

Methods

copyWith({T? value, String? error, bool? isErrorShown}) FieldCubitState<T>
errorCheck({String? error}) FieldCubitState<T>
externalChange({required T value, required String? error, bool? isErrorShown}) FieldCubitState<T>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
setValue({required T value, String? error}) FieldCubitState<T>
toString() String
A string representation of this object.

Operators

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