CustomTextField constructor
const
CustomTextField({
- Key? key,
- required String hintText,
- TextEditingController? controller,
- bool isPassword = false,
- 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);