flutter_floc library

Functions

formBlocTest<T extends FormBloc, Response>(String description, {required T build(), Map<String, dynamic>? seed, dynamic act(T formBloc)?, Duration? wait, dynamic verify(FormStatus status, Response? response, Map<String, FormField> fields)?}) → void
Utility function to test FormBlocs instance.

Typedefs

FormBlocListenerCallback<Response> = void Function(BuildContext context, FormBlocState<Response> state)
ValidatorFunction<Value> = String? Function(Value value, Map<String, dynamic> fieldSubscriptionValues)