OmegaNumericUpDownField constructor

OmegaNumericUpDownField({
  1. Key? key,
  2. bool enabled = false,
  3. bool visible = true,
  4. String? label = '',
  5. double labelSize = 14,
  6. Color labelColor = Colors.black,
  7. String? hint,
  8. dynamic onChanged(
    1. int
    )?,
  9. dynamic onSaved(
    1. int?
    )?,
  10. dynamic onTap()?,
  11. FocusNode? focusNode,
  12. String? validator(
    1. int?
    )?,
  13. bool showRequiredLabel = false,
  14. bool autofocus = false,
  15. Color? iconColor = Colors.grey,
  16. int? initialValue,
  17. int minValue = 1,
})

Implementation

OmegaNumericUpDownField({
  Key? key,
  this.enabled = false,
  this.visible = true,
  this.label = '',
  this.labelSize = 14,
  this.labelColor = Colors.black,
  this.hint,
  this.onChanged,
  this.onSaved,
  this.onTap,
  this.focusNode,
  this.validator,
  this.showRequiredLabel = false,
  this.autofocus = false,
  this.iconColor = Colors.grey,
  this.initialValue,
  this.minValue = 1,
}) : super(key: key);