forme library

Classes

Forme
build your form !
FormeCupertinoFormRowDecorator<T>
FormeField<T>
FormeFieldChangedStatus<T>
FormeFieldDecorator<T>
Widget returned by this decorator is a part of FormeField
FormeFieldDecoratorBuilder<T>
FormeFieldState<T>
FormeFieldStatus<T>
FormeFieldStatusListener<T>
used to listen target field status
FormeFieldsValidationListener
used to listen multi field validation change
FormeFieldType
FormeFieldValidateSnapshot<T>
used to hold validate result and validated value
FormeFieldValidation
forme validate error
FormeFieldValidationContext<T>
FormeFieldVisitorState<T extends FormeFieldVisitorWidget, E>
FormeFieldVisitorWidget
FormeInputDecorationDecorator<T>
FormeIsValueChangedListener
useful when you want to create a widget depends on FormeState.isValueChanged
FormeKey
form key is a global key , also used to manage form
FormeMountedValueNotifier<T>
FormeOptional<T>
FormeState
FormeValidates
validators for Forme
FormeValidateSnapshot
FormeValidation
FormeValidationListener
FormeValueListenableDelegate<T>
FormeValueListener
used to listen form value
FormeVisitorState<T extends StatefulWidget>

Typedefs

EmptyChecker<T> = bool Function(T value, FormeFieldState<T> field)
FormeAsyncValidator<T> = Future<String?> Function(FormeFieldState<T> field, T value, bool isValid())
FormeFieldBuilder<T> = Widget Function(FormeFieldState<T> state)
FormeFieldInitialized<T> = void Function(FormeFieldState<T> field)
FormeFieldSetter<T> = void Function(FormeFieldState<T> field, T value)
FormeFieldStatusChanged<T> = void Function(FormeFieldState<T>, FormeFieldChangedStatus<T> status)
FormeFieldValidationFilter<T> = bool Function(FormeFieldValidationContext<T> context)
FormeValidator<T> = String? Function(FormeFieldState<T> field, T value)
InputDecorationBuilder = InputDecoration Function(BuildContext context)