Skip to main content

Cache Field

class EmailField extends FFormField<String, EmailError> with CachedField<String, EmailError> {

EmailField({required String value}) : super(value);


EmailError? validator(value) {
if (value.isEmpty) return EmailError.empty;
return null;
}

}