OmegaNumericField constructor

OmegaNumericField({
  1. Key? key,
  2. bool enabled = true,
  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. dynamic onEditingComplete()?,
  12. dynamic onFieldSubmitted(
    1. int?
    )?,
  13. FocusNode? focusNode,
  14. String? validator(
    1. int?
    )?,
  15. bool showRequiredLabel = false,
  16. bool autofocus = false,
  17. int? initialValue,
  18. TextStyle? labelStyle,
})

Implementation

OmegaNumericField({
  Key? key,
  this.enabled = true,
  this.visible = true,
  this.label = '',
  this.labelSize = 14,
  this.labelColor = Colors.black,
  this.hint,
  this.onChanged,
  this.onSaved,
  this.onTap,
  this.onEditingComplete,
  this.onFieldSubmitted,
  this.focusNode,
  this.validator,
  this.showRequiredLabel = false,
  this.autofocus = false,
  this.initialValue,
  this.labelStyle,
}) : super(key: key);