FormeCupertinoBasePicker<T, E extends FormeCupertinoBasePickerState<T> > constructor
FormeCupertinoBasePicker<T, E extends FormeCupertinoBasePickerState<T> > ({
- Key? key,
- String? name,
- required T initialValue,
- FormeAsyncValidator<
T> ? asyncValidator, - Duration? asyncValidatorDebounce,
- AutovalidateMode? autovalidateMode,
- FormeFieldDecorator<
T> ? decorator, - bool enabled = true,
- FocusNode? focusNode,
- FormeFieldInitialized<
T> ? onInitialized, - FormeFieldSetter<
T> ? onSaved, - FormeFieldStatusChanged<
T> ? onStatusChanged, - int? order,
- bool quietlyValidate = false,
- bool readOnly = false,
- bool requestFocusOnUserInteraction = true,
- FormeFieldValidationFilter<
T> ? validationFilter, - FormeValidator<
T> ? validator, - required FormeCupertinoBasePickerTriggerBuilder<
E> triggerBuilder, - Widget? cancelWidget,
- Widget? confirmWidget,
- Offset? anchorPoint,
- Color? barrierColor,
- bool? barrierDismissible,
- ImageFilter? filter,
- double? height,
- RouteSettings? routeSettings,
- bool? semanticsDismissible,
Implementation
FormeCupertinoBasePicker({
super.key,
super.name,
required super.initialValue,
super.asyncValidator,
super.asyncValidatorDebounce,
super.autovalidateMode,
super.decorator,
super.enabled = true,
super.focusNode,
super.onInitialized,
super.onSaved,
super.onStatusChanged,
super.order,
super.quietlyValidate = false,
super.readOnly = false,
super.requestFocusOnUserInteraction = true,
super.validationFilter,
super.validator,
required this.triggerBuilder,
this.cancelWidget,
this.confirmWidget,
this.anchorPoint,
this.barrierColor,
this.barrierDismissible,
this.filter,
this.height,
this.routeSettings,
this.semanticsDismissible,
this.useRootNavigator,
}) : super.allFields(
builder: (state) {
return triggerBuilder.call(state as E);
},
);