FormeCupertinoBasePicker<T, E extends FormeCupertinoBasePickerState<T>> constructor

FormeCupertinoBasePicker<T, E extends FormeCupertinoBasePickerState<T>>({
  1. Key? key,
  2. String? name,
  3. required T initialValue,
  4. FormeAsyncValidator<T>? asyncValidator,
  5. Duration? asyncValidatorDebounce,
  6. AutovalidateMode? autovalidateMode,
  7. FormeFieldDecorator<T>? decorator,
  8. bool enabled = true,
  9. FocusNode? focusNode,
  10. FormeFieldInitialized<T>? onInitialized,
  11. FormeFieldSetter<T>? onSaved,
  12. FormeFieldStatusChanged<T>? onStatusChanged,
  13. int? order,
  14. bool quietlyValidate = false,
  15. bool readOnly = false,
  16. bool requestFocusOnUserInteraction = true,
  17. FormeFieldValidationFilter<T>? validationFilter,
  18. FormeValidator<T>? validator,
  19. required FormeCupertinoBasePickerTriggerBuilder<E> triggerBuilder,
  20. Widget? cancelWidget,
  21. Widget? confirmWidget,
  22. Offset? anchorPoint,
  23. Color? barrierColor,
  24. bool? barrierDismissible,
  25. ImageFilter? filter,
  26. double? height,
  27. RouteSettings? routeSettings,
  28. bool? semanticsDismissible,
  29. bool? useRootNavigator,
})

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);
        },
      );