MahasInputTextFieldWidget constructor
const
MahasInputTextFieldWidget({
- Key? key,
- MahasInputModel? controller,
- void onChanged()?,
- List<
MahasMessageModel> ? validation, - int? index,
- String? label,
- bool showLabel = true,
- bool showHint = true,
- String? hint,
- String? icon,
- void iconOnTab()?,
- Color? iconColor,
- bool? obscureText,
- String? rightIcon,
- Color? rightIconColor,
- void rightIconOnTab()?,
- bool readOnly = false,
- Color? colorSet,
- void onTab()?,
- List<
TextInputFormatter> ? inputFormatters, - TextInputType? keyboardType,
- TextAlign? textAlign,
- Function? onBlur,
- 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,
});