TextFieldWidget constructor
TextFieldWidget({
- Key? key,
- required TextEditingController controller,
- double radius = 10,
- Color borderColor = Colors.black,
- Color errorBorderColor = Colors.red,
- bool enabled = true,
- bool editable = true,
- FocusNode? focusNode,
- String? hint,
- Widget? prefix,
- Widget? suffix,
- bool obscureText = false,
- int? maxLength,
- int? maxlines = 1,
- int? minLines,
- TextInputType? keyboardType,
- 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,
});