CardSettingsNumberPicker constructor

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

Implementation

CardSettingsNumberPicker({
  Key? key,
  this.label = 'Label',
  this.labelAlign,
  this.labelWidth,
  this.initialValue,
  this.contentAlign,
  this.hintText,
  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);