CardSettingsCheckboxPicker<T> constructor
CardSettingsCheckboxPicker<T> ({
- Key? key,
- List<
T> ? initialItems, - FormFieldSetter<
List< ? onSaved,T> > - FormFieldValidator<
List< ? validator,T> > - AutovalidateMode autovalidateMode = AutovalidateMode.onUserInteraction,
- bool enabled = true,
- ValueChanged<
List< ? onChanged,T> > - String label = 'Select',
- bool visible = true,
- TextAlign? contentAlign,
- Icon? icon,
- TextAlign? labelAlign,
- double? labelWidth,
- Widget? requiredIndicator,
- required List<
T> items, - bool? showMaterialonIOS,
- EdgeInsetsGeometry? fieldPadding,
Implementation
CardSettingsCheckboxPicker({
Key? key,
List<T>? initialItems,
FormFieldSetter<List<T>>? onSaved,
FormFieldValidator<List<T>>? validator,
AutovalidateMode autovalidateMode = AutovalidateMode.onUserInteraction,
this.enabled = true,
this.onChanged,
this.label = 'Select',
this.visible = true,
this.contentAlign,
this.icon,
this.labelAlign,
this.labelWidth,
this.requiredIndicator,
required this.items,
this.showMaterialonIOS,
this.fieldPadding,
}) : super(
key: key,
initialValue: initialItems,
onSaved: onSaved,
validator: validator,
autovalidateMode: autovalidateMode,
builder: (FormFieldState<List<T>> field) =>
(field as _CardSettingsCheckboxPickerState)._build(field.context),
);