BaseInput constructor

const BaseInput({
  1. Key? key,
  2. required TextEditingController controller,
  3. String? hintText,
  4. int maxLength = 1000,
  5. int maxLines = 1,
  6. bool hideBorder = true,
  7. TextInputType keyboardType = TextInputType.text,
  8. List<TextInputFormatter>? inputFormatters,
  9. FocusNode? focusNode,
  10. dynamic onChanged(
    1. String
    )?,
  11. TextStyle? hintStyle,
  12. Color? fillColor,
  13. TextStyle? style,
  14. double? height,
  15. Widget? hint,
  16. double? borderRadius,
  17. VoidCallback? ondone,
  18. bool validator(
    1. 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,
});