TextFieldWidget constructor

TextFieldWidget({
  1. Key? key,
  2. required TextEditingController controller,
  3. double radius = 10,
  4. Color borderColor = Colors.black,
  5. Color errorBorderColor = Colors.red,
  6. bool enabled = true,
  7. bool editable = true,
  8. FocusNode? focusNode,
  9. String? hint,
  10. Widget? prefix,
  11. Widget? suffix,
  12. bool obscureText = false,
  13. int? maxLength,
  14. int? maxlines = 1,
  15. int? minLines,
  16. TextInputType? keyboardType,
  17. dynamic onTap()?,
})

Implementation

TextFieldWidget({
  super.key,
  required this.controller,
  this.radius = 10,
  this.borderColor = Colors.black,
  this.errorBorderColor = Colors.red,
  this.enabled = true,
  this.editable = true,
  this.focusNode,
  this.hint,
  this.prefix,
  this.suffix,
  this.obscureText = false,
  this.maxLength,
  this.maxlines = 1,
  this.minLines,
  this.keyboardType,
  this.onTap,
});