slapp_dforms library

Classes

ChangeMultipleValuesEvent
ChangeValueEvent<T>
CloneableExpressionProperty<T>
Element
ElementParser<T>
EnumElement
ExplicitExpressionProperty<T>
ExplicitFormManager
ExpressionProperty<T>
FormBuilder
FormData
FormElement
FormElementEvent
FormElementParser<TFormElement extends FormElement>
FormElementRenderer<TFormElement extends FormElement>
FormManager
FormParserService
FormPropertyValue
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
ImmutableProperty<T>
JsonFormManager
JsonFormParserService
JsonParserNode
LazyExpressionProperty<T>
LazyStreamBuilder<T>
StreamBuilder which prevents recreating the stream every time the build method is called.
MutableProperty<T>
ParsedFormManager
ParsedFormProvider<T extends ParsedFormManager>
ParserNode
Property<T>
StringExpressionProperty<T>
Validation
ValidationParser<TValidation extends Validation>
ValueElement
XmlFormManager
XmlFormParserService
XmlParserNode

Extensions

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

Functions

getFormElementIterator<TFormElement extends FormElement>(FormElement formElement) Iterable<TFormElement>
getFormPropertyIterator<TProperty extends Property>(FormElement rootFormElement) Iterable<TProperty>

Typedefs

CreateFormManager<T extends FormManager> = T Function(BuildContext context)
ElementParserFunction = Element Function(ParserNode dataNode, FormElement? parent)
FormElementEventDispatcherFunction = void Function(FormElementEvent event)
FormElementRendererFunction<TFormElement extends FormElement> = Widget Function(TFormElement formElement, BuildContext context)
LazyExpression<T> = Expression<T> Function()
StreamFactory<T> = Stream<T> Function()