CustomTextInput constructor
const
CustomTextInput({
- Key? key,
- String? title,
- String hint = 'Enter the text here',
- ValueChanged<
String> ? onChanged, - VoidCallback? onEditingComplete,
- ValueChanged<
String> ? onSubmitted, - bool showIcon = false,
- String error = '',
- String? presetTxt,
- TextEditingController? controller,
- int? maxLines = 10,
Implementation
const CustomTextInput({
super.key,
this.title,
this.hint = 'Enter the text here',
this.onChanged,
this.onEditingComplete,
this.onSubmitted,
this.showIcon = false,
this.error = '',
this.presetTxt,
this.controller,
this.maxLines = 10,
});