CardSettingsNumberPicker constructor

CardSettingsNumberPicker({
  1. Key? key,
  2. String label = 'Label',
  3. TextAlign? labelAlign,
  4. double? labelWidth,
  5. int? initialValue,
  6. TextAlign? contentAlign,
  7. Icon? icon,
  8. Widget? requiredIndicator,
  9. required int min,
  10. required int max,
  11. int stepInterval = 1,
  12. AutovalidateMode autovalidateMode = AutovalidateMode.onUserInteraction,
  13. bool enabled = true,
  14. FormFieldValidator<int>? validator,
  15. FormFieldSetter<int>? onSaved,
  16. ValueChanged<int?>? onChanged,
  17. bool visible = true,
  18. bool? showMaterialonIOS,
  19. 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);