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 theformManager
and a child which will have access to theformManager
viaFormProvider.of(context)
. It is used as a dependency injection (DI) widget so that a single instance of aformManager
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 aBloc
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()