RoundedTextField constructor

const RoundedTextField({
  1. Key? key,
  2. required Color backgroundColor,
  3. required String hintText,
  4. required TextEditingController controller,
  5. TextInputType keyboardType = TextInputType.text,
  6. bool obscureText = false,
  7. double height = 45,
  8. String? validator()?,
  9. Image? suffixImage,
  10. int? maxLength,
  11. List<TextInputFormatter>? inputFormatters,
  12. void onChanged(
    1. String
    )?,
})

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,
});