MahasInputTextFieldWidget constructor

const MahasInputTextFieldWidget({
  1. Key? key,
  2. MahasInputModel? controller,
  3. void onChanged(
    1. String
    )?,
  4. List<MahasMessageModel>? validation,
  5. int? index,
  6. String? label,
  7. bool showLabel = true,
  8. bool showHint = true,
  9. String? hint,
  10. String? icon,
  11. void iconOnTab()?,
  12. Color? iconColor,
  13. bool? obscureText,
  14. String? rightIcon,
  15. Color? rightIconColor,
  16. void rightIconOnTab()?,
  17. bool readOnly = false,
  18. Color? colorSet,
  19. void onTab()?,
  20. List<TextInputFormatter>? inputFormatters,
  21. TextInputType? keyboardType,
  22. TextAlign? textAlign,
  23. Function? onBlur,
  24. bool isTextArea = false,
})

Implementation

const MahasInputTextFieldWidget({
  super.key,
  this.controller,
  this.onChanged,
  this.validation,
  this.index,
  this.label,
  this.showLabel = true,
  this.showHint = true,
  this.hint,
  this.icon,
  this.iconOnTab,
  this.iconColor,
  this.obscureText,
  this.rightIcon,
  this.rightIconColor,
  this.rightIconOnTab,
  this.readOnly = false,
  this.colorSet,
  this.onTab,
  this.inputFormatters,
  this.keyboardType,
  this.textAlign,
  this.onBlur,
  this.isTextArea = false,
});