CustomTextField constructor
const
CustomTextField({
- Key? key,
- required String hintText,
- bool isPassword = false,
- TextEditingController? controller,
- IconData? prefixIcon,
Implementation
const CustomTextField({
Key? key,
required this.hintText,
this.isPassword = false,
this.controller,
this.prefixIcon,
}) : super(key: key);