core library Null safety

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>

Extensions

FieldsMapX
LoStatusX
ValMapX

Enums

LoStatus
Used to indicate both Fields and Forms statuses.

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>