CommTextField constructor

CommTextField({
  1. Key? key,
  2. TextInputAction textInputAction = TextInputAction.done,
  3. Color foucosUnderlineColor = const Color(0xFF0E95FD),
  4. Color defaultUnderlineColor = const Color(0xFFcccccc),
  5. TextStyle? textStyle,
  6. TextAlign? textAlign = TextAlign.start,
  7. TextStyle? hintTextStyle,
  8. String? hintText,
  9. TextStyle? lableTextStyle,
  10. String? lableText,
  11. int maxLength = 20,
  12. int maxLines = 1,
  13. double? paddingBottm,
  14. bool isInputPwd = false,
  15. bool autoFocus = false,
  16. bool isShowDeleteMain = false,
  17. bool enabled = true,
  18. bool? readOnly = false,
  19. TextInputType? keyboardType = TextInputType.text,
  20. List<TextInputFormatter>? inputFormatters,
  21. Function? onSubmitted,
  22. Function? onChanged,
  23. String? defaultCont,
})

Implementation

CommTextField({
  Key? key,
  this.textInputAction:TextInputAction.done,
  this.foucosUnderlineColor:const Color(0xFF0E95FD),
  this.defaultUnderlineColor:const Color(0xFFcccccc),
  this.textStyle,
  this.textAlign:TextAlign.start,
  this.hintTextStyle,
  this.hintText,
  this.lableTextStyle,
  this.lableText,
  this.maxLength: 20,
  this.maxLines: 1,
  this.paddingBottm,
  this.isInputPwd: false,
  this.autoFocus: false,
  this.isShowDeleteMain: false,
  this.enabled: true,
  this.readOnly: false,
  this.keyboardType: TextInputType.text,
  this.inputFormatters,
  this.onSubmitted,
  this.onChanged,
  this.defaultCont,
}):super(key: key);