RoundedTextField constructor
const
RoundedTextField({
- Key? key,
- required Color backgroundColor,
- required String hintText,
- required TextEditingController controller,
- TextInputType keyboardType = TextInputType.text,
- bool obscureText = false,
- double height = 45,
- String? validator()?,
- Image? suffixImage,
- int? maxLength,
- List<
TextInputFormatter> ? inputFormatters, - void onChanged()?,
Implementation
const RoundedTextField({
super.key,
required this.backgroundColor,
required this.hintText,
required this.controller,
this.keyboardType = TextInputType.text,
this.obscureText = false,
this.height = 45,
this.validator,
this.suffixImage,
this.maxLength,
this.inputFormatters,
this.onChanged,
});