CyberText constructor

const CyberText({
  1. Key? key,
  2. dynamic text,
  3. String? label,
  4. String? hint,
  5. String? format,
  6. IconData? icon,
  7. TextInputType? keyboardType,
  8. List<TextInputFormatter>? inputFormatters,
  9. int? maxLines = 1,
  10. int? maxLength,
  11. bool enabled = true,
  12. dynamic isVisible = true,
  13. TextStyle? style,
  14. InputDecoration? decoration,
  15. ValueChanged<String>? onChanged,
  16. dynamic onLeaver(
    1. dynamic
    )?,
  17. bool showFormatInField = false,
  18. bool isPassword = false,
  19. bool isShowLabel = true,
  20. Color? backgroundColor,
  21. Color? focusColor,
  22. TextStyle? labelStyle,
  23. dynamic isCheckEmpty = false,
})

Implementation

const CyberText({
  super.key,
  this.text,
  this.label,
  this.hint,
  this.format,
  this.icon,
  this.keyboardType,
  this.inputFormatters,
  this.maxLines = 1,
  this.maxLength,
  this.enabled = true,
  this.isVisible = true,
  this.style,
  this.decoration,
  this.onChanged,
  this.onLeaver,
  this.showFormatInField = false,
  this.isPassword = false,
  this.isShowLabel = true,
  this.backgroundColor,
  this.focusColor,
  this.labelStyle,
  this.isCheckEmpty = false,
});