CardSettingsSelectionPicker<T> constructor

CardSettingsSelectionPicker<T>({
  1. Key? key,
  2. T? initialItem,
  3. FormFieldSetter<T>? onSaved,
  4. FormFieldValidator<T>? validator,
  5. AutovalidateMode autovalidateMode = AutovalidateMode.onUserInteraction,
  6. bool enabled = true,
  7. String label = 'Label',
  8. bool visible = true,
  9. ValueChanged<T>? onChanged,
  10. Widget? requiredIndicator,
  11. TextAlign? labelAlign,
  12. double? labelWidth,
  13. Icon? icon,
  14. TextAlign? contentAlign,
  15. String? hintText,
  16. required List<T> items,
  17. bool? showMaterialonIOS,
  18. EdgeInsetsGeometry? fieldPadding,
  19. Iconizer<T?>? iconizer,
})

Implementation

CardSettingsSelectionPicker({
  Key? key,
  T? initialItem,
  FormFieldSetter<T>? onSaved,
  FormFieldValidator<T>? validator,
  // bool autovalidate: false,
  AutovalidateMode autovalidateMode = AutovalidateMode.onUserInteraction,
  this.enabled = true,
  this.label = 'Label',
  this.visible = true,
  this.onChanged,
  this.requiredIndicator,
  this.labelAlign,
  this.labelWidth,
  this.icon,
  this.contentAlign,
  this.hintText,
  required this.items,
  this.showMaterialonIOS,
  this.fieldPadding,
  this.iconizer,
}) : super(
          key: key,
          initialValue: initialItem ?? null,
          onSaved: onSaved,
          validator: validator,
          // autovalidate: autovalidate,
          autovalidateMode: autovalidateMode,
          builder: (FormFieldState<T> field) =>
              (field as _CardSettingsListPickerState)._build(field.context));