BaseInput constructor
const
BaseInput({
- Key? key,
- required TextEditingController controller,
- String? hintText,
- int maxLength = 1000,
- int maxLines = 1,
- bool hideBorder = true,
- TextInputType keyboardType = TextInputType.text,
- List<
TextInputFormatter> ? inputFormatters, - FocusNode? focusNode,
- dynamic onChanged()?,
- TextStyle? hintStyle,
- Color? fillColor,
- TextStyle? style,
- double? height,
- Widget? hint,
- double? borderRadius,
- VoidCallback? ondone,
- bool validator(
- String value
Implementation
const BaseInput({
super.key,
required this.controller,
this.hintText,
this.maxLength = 1000,
this.maxLines = 1,
this.hideBorder = true,
this.keyboardType = TextInputType.text,
this.inputFormatters,
this.focusNode,
this.onChanged,
this.hintStyle,
this.fillColor,
this.style,
this.height,
this.hint,
this.borderRadius,
this.ondone,
this.validator,
});