Textfields constructor

const Textfields({
  1. Key? key,
  2. required String label,
  3. required String hintText,
  4. required IconData prefixIcon,
  5. required TextEditingController controller,
  6. required bool isPassword,
  7. int? maxLength,
  8. TextInputType? keyboardType,
})

Implementation

const Textfields({
  super.key,
  required this.label,
  required this.hintText,
  required this.prefixIcon,
  required this.controller,
  required this.isPassword,
  this.maxLength,
  this.keyboardType,
});