CyberNumeric constructor

const CyberNumeric({
  1. Key? key,
  2. dynamic text,
  3. String? label,
  4. String? hint,
  5. String? format = "### ### ### ###.##",
  6. IconData? icon,
  7. bool enabled = true,
  8. dynamic isVisible = true,
  9. TextStyle? style,
  10. InputDecoration? decoration,
  11. ValueChanged<double>? onChanged,
  12. dynamic onLeaver(
    1. dynamic
    )?,
  13. double? min,
  14. double? max,
  15. bool isShowLabel = true,
  16. Color? backgroundColor,
  17. Color? focusColor,
  18. TextStyle? labelStyle,
  19. dynamic isCheckEmpty = false,
})

Implementation

const CyberNumeric({
  super.key,
  this.text,
  this.label,
  this.hint,
  this.format = "### ### ### ###.##",
  this.icon,
  this.enabled = true,
  this.isVisible = true,
  this.style,
  this.decoration,
  this.onChanged,
  this.onLeaver,
  this.min,
  this.max,
  this.isShowLabel = true,
  this.backgroundColor,
  this.focusColor,
  this.labelStyle,
  this.isCheckEmpty = false,
});