InitialFieldCubitState<T> class
- Inheritance
-
- Object
- FieldCubitState<
T> - InitialFieldCubitState
Constructors
- InitialFieldCubitState({required T initalValue, String? error})
-
const
Properties
- error → String?
-
finalinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- initialValue → T
-
finalinherited
- isErrorShown → bool
-
finalinherited
- isInitial → bool
-
no setterinherited
- isValid → bool
-
no setterinherited
-
props
→ List<
Object?> -
The list of properties that will be used to determine whether
two instances are equal.
no setteroverride
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- shownError → String?
-
no setterinherited
- stringify → bool?
-
If set to
true
, the toString method will be overridden to output this instance's props.no setterinherited - value → T
-
finalinherited
Methods
-
copyWith(
{T? value, String? error, bool? isErrorShown}) → FieldCubitState< T> -
inherited
-
errorCheck(
{String? error}) → FieldCubitState< T> -
inherited
-
externalChange(
{required T value, required String? error, bool? isErrorShown}) → FieldCubitState< T> -
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
setValue(
{required T value, String? error}) → FieldCubitState< T> -
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited