CommTextField constructor
CommTextField({
- Key? key,
- TextInputAction textInputAction = TextInputAction.done,
- Color foucosUnderlineColor = const Color(0xFF0E95FD),
- Color defaultUnderlineColor = const Color(0xFFcccccc),
- TextStyle? textStyle,
- TextAlign? textAlign = TextAlign.start,
- TextStyle? hintTextStyle,
- String? hintText,
- TextStyle? lableTextStyle,
- String? lableText,
- int maxLength = 20,
- int maxLines = 1,
- double? paddingBottm,
- bool isInputPwd = false,
- bool autoFocus = false,
- bool isShowDeleteMain = false,
- bool enabled = true,
- bool? readOnly = false,
- TextInputType? keyboardType = TextInputType.text,
- List<
TextInputFormatter> ? inputFormatters, - Function? onSubmitted,
- Function? onChanged,
- 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);