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