FieldBlocState<Value> class
abstract
- Mixed-in types
- Implementers
Constructors
-
FieldBlocState({required String name, required Value initialValue, required Value value, required bool isValueChanged, required bool isDirty, required Set<
Validator< validators, required Set<Value> >ValidationType> rules, required String? error, required bool enabled, required bool readOnly, required bool loading, required dynamic data, required dynamic extraData, required FormBloc? formBloc})
Properties
- data → dynamic
-
final
- disabled → bool
-
no setter
- displayError → String?
-
no setter
- enabled → bool
-
final
- error → String?
-
final
- extraData → dynamic
-
final
- formBloc → FormBloc?
-
final
- hasFormBloc → bool
-
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- hasValue → bool
-
no setter
- initialValue → Value
-
final
- isDirty → bool
-
final
- isInitial → bool
-
no setter
- isNotValid → bool
-
no setterinherited
- isRequired → bool
-
no setter
- isValid → bool
-
no setteroverride
- isValueChanged → bool
-
final
- loading → bool
-
final
- name → String
-
final
-
props
→ List<
Object?> -
The list of properties that will be used to determine whether
two instances are equal.
no setter
- readOnly → bool
-
final
-
rules
→ Set<
ValidationType> -
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- stringify → bool?
-
If set to
true, thetoStringmethod will be overridden to output this instance'sprops.no setterinherited -
validators
→ Set<
Validator< Value> > -
final
- value → Value
-
final
Methods
-
copyWith(
{Value? initialValue, Value? value, bool? isValueChanged, bool? isDirty, Set< Validator< ? validators, Set<Value> >ValidationType> ? rules, String? error, bool? enabled, bool? readOnly, bool? loading, dynamic data, dynamic extraData, FormBloc? formBloc}) → FieldBlocState<Value> -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toNullableString(
) → String? -
toString(
) → String - A string representation of this object.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited