LoFieldState<TKey, TValue> constructor
LoFieldState<TKey, TValue> ({
- required TKey loKey,
- TValue? initialValue,
- List<
LoFieldBaseValidator< validators = const [],TValue> > - required ValueChanged<
TValue> onChanged, - Duration? debounceTime,
Implementation
LoFieldState({
required this.loKey,
this.initialValue,
this.validators = const [],
required ValueChanged<TValue> onChanged,
this.debounceTime,
}) : _onValueChanged = onChanged,
_debouncer = debounceTime == null ? null : Debouncer(debounceTime),
value = initialValue,
touched = false,
error = null;