TextFieldComponent constructor

const TextFieldComponent({
  1. required TextEditingController controller,
  2. required IconData icon,
  3. required String hint,
  4. Key? key,
  5. ValueChanged<String>? onChange,
  6. Widget? suffixIcon,
  7. bool isNumeric = false,
  8. String? errorText,
  9. bool readOnly = false,
  10. int maxLength = 0,
  11. bool isExpands = false,
  12. bool largeField = false,
  13. bool useOutBorderRadius = false,
})

Implementation

const TextFieldComponent({
  required this.controller,
  required this.icon,
  required this.hint,
  super.key,
  this.onChange,
  this.suffixIcon,
  this.isNumeric = false,
  this.errorText,
  this.readOnly = false,
  this.maxLength = 0,
  this.isExpands = false,
  this.largeField = false,
  this.useOutBorderRadius = false,
});