CustomTextField constructor

const CustomTextField({
  1. Key? key,
  2. required String hintText,
  3. bool isPassword = false,
  4. TextEditingController? controller,
  5. IconData? prefixIcon,
})

Implementation

const CustomTextField({
  Key? key,
  required this.hintText,
  this.isPassword = false,
  this.controller,
  this.prefixIcon,
}) : super(key: key);