FieldBlocValidators class
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
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.
inherited
Static Properties
-
requiredBooleanValidator
↔ Validator<
bool?> -
getter/setter pair
- requiredValidator ↔ Validator
-
getter/setter pair
Static Methods
-
booleanRequired(
bool? value) → String? -
confirmPassword(
TextFieldBloc passwordTextFieldBloc) → Validator< String?> -
Check if the
valueof the current TextFieldBloc is equals topasswordTextFieldBloc.value. -
email(
String? string) → String? -
Check if the
stringis an email ifstringis not null and not empty. -
getBooleanValidators(
Set< Validator< ? validators, bool? required) → Set<bool?> >Validator< bool?> > -
getValidators<
T> (Set< Validator< ? validators, bool? required) → Set<T> >Validator< T> > -
passwordMin6Chars(
String? string) → String? -
Check if the
stringhas min 6 chars ifstringis not null and not empty. -
required(
dynamic value) → String? -
Check if the
valueis is not null, not empty.