AsyncHiddenFieldState<T> constructor
Creates a new instance of AsyncHiddenFieldState.
valueThe value associated with the hidden field (optional).pendingValueThe future value that will be loaded asynchronously.
Implementation
AsyncHiddenFieldState(
T value, {
required this.pendingValue,
String? error,
}) : super(
value: value,
label: '',
error: error,
rules: const [],
);