CustomPhoneInputText constructor
const
CustomPhoneInputText({})
Implementation
const CustomPhoneInputText({
super.key,
super.controller,
super.readOnly,
String? hint = "Enter phone number",
bool? filled,
Color? fillColor,
super.focusNode,
super.borderColor = null,
Widget? prefixIcon, // ✅ optional
super.onChanged,
super.validator,
}) : super(
hintText: hint,
keyBoardType: TextInputType.phone,
prefixWidget: prefixIcon ?? const Icon(Icons.phone),
filled: filled,
fillColor: fillColor,
);