flutter_dynamic_forms library

Classes

ChangeMultipleValuesEvent
ChangeValueEvent<T>
FormElementEvent
FormElementRenderer<TFormElement extends FormElement>
FormProvider<T extends FormManager>
Takes a ValueBuilder that is responsible for creating the formManager and a child which will have access to the formManager via FormProvider.of(context). It is used as a dependency injection (DI) widget so that a single instance of a formManager can be provided to multiple widgets within a subtree.
FormRenderer<TFormManager extends FormManager>
FormRenderService
LazyStreamBuilder<T>
StreamBuilder which prevents recreating the stream every time the build method is called.
ParsedFormProvider<T extends ParsedFormManager>

Extensions

FormProviderExtension on BuildContext
Extends the BuildContext class with the ability to perform a lookup based on a Bloc type.

Typedefs

CreateFormManager<T extends FormManager> = T Function(BuildContext context)
FormElementEventDispatcherFunction = void Function(FormElementEvent event)
FormElementRendererFunction<TFormElement extends FormElement> = Widget Function(TFormElement formElement, BuildContext context)
StreamFactory<T> = Stream<T> Function()

Exceptions / Errors

MissingRendererException