core library

Classes

LoConfig
The default configuation for form'behaviour
LoField<TKey, TValue>
All form fields inside LoForm must be wrapped inside this.
LoFieldBaseValidator<TValue>
LoFieldState<TKey, TValue>
LoForm<TKey>
LoFormBaseValidator<TKey>
LoFormState<TKey>
LoScope<TKey>
LoValidator<TIn, TOut>

Enums

LoStatus
Used to indicate both Fields and Forms statuses.

Extensions

FieldsMapX on FieldsMap<TKey>
LoStatusX on LoStatus
ValMapX on ValMap<TKey>

Typedefs

ErrMap<TKey> = Map<TKey, String?>
FieldsMap<TKey> = Map<TKey, LoFieldState<TKey, dynamic>>
SetErrFunc<TKey> = void Function(ErrMap<TKey>)
StatusCheckFunc = bool Function(LoStatus)
SubmitFunc<TKey> = FutureOr<bool?>? Function(ValMap<TKey>, SetErrFunc<TKey> )
ValidateFunc<TIn, TOut> = TOut? Function(TIn)
ValMap<TKey> = Map<TKey, dynamic>