CardSettingsNumberPicker constructor
CardSettingsNumberPicker({
- Key? key,
- String label = 'Label',
- TextAlign? labelAlign,
- double? labelWidth,
- int? initialValue,
- TextAlign? contentAlign,
- Icon? icon,
- Widget? requiredIndicator,
- required int min,
- required int max,
- int stepInterval = 1,
- AutovalidateMode autovalidateMode = AutovalidateMode.onUserInteraction,
- bool enabled = true,
- FormFieldValidator<
int> ? validator, - FormFieldSetter<
int> ? onSaved, - ValueChanged<
int?> ? onChanged, - bool visible = true,
- bool? showMaterialonIOS,
- EdgeInsetsGeometry? fieldPadding,
Implementation
CardSettingsNumberPicker({
Key? key,
this.label: 'Label',
this.labelAlign,
this.labelWidth,
this.initialValue,
this.contentAlign,
this.icon,
this.requiredIndicator,
required this.min,
required this.max,
this.stepInterval: 1,
this.autovalidateMode: AutovalidateMode.onUserInteraction,
this.enabled: true,
this.validator,
this.onSaved,
this.onChanged,
this.visible: true,
this.showMaterialonIOS,
this.fieldPadding,
}) : assert(min < max);