OmegaDecimalField constructor

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

Implementation

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