CustomTextField constructor
const
CustomTextField({
- Key? key,
- required String hintText,
- required ValueChanged<
String> onChanged, - Widget? prefixIcon,
- bool isOtpField = false,
- TextAlign? textAlign,
- TextInputType? keyboardType,
- int? maxLength,
- String? validator()?,
- required TextEditingController cardIdController,
Implementation
const CustomTextField({
super.key,
required this.hintText,
required this.onChanged,
this.prefixIcon,
this.isOtpField = false,
this.textAlign,
this.keyboardType,
this.maxLength,
this.validator,
required this.cardIdController
});