CustomTextField constructor

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

Creates a CustomTextField with customizable hint, controller, and icons.

Implementation

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