EditUserProfile constructor
const
EditUserProfile({
- Key? key,
- TextEditingController? emailController,
- TextStyle? fieldsLabelStyle,
- TextStyle? fieldsTextStyle,
- StrutStyle? fieldsStrutStyle,
- dynamic eMailOnChanged()?,
- GestureTapCallback? eMailOnTap,
- Widget? eMailPrefixIcon,
- String? emailHintText,
- String? emailLabelText,
- dynamic onDatePicked()?,
- dynamic onNameChanged()?,
- String? emailValidator()?,
- String? emailHelperText,
- String loginButtonText = 'Login',
- VoidCallback? onLoginPressed,
- TextEditingController? userNameController,
- required TextEditingController address1Controller,
- required TextEditingController address2Controller,
- String? usernameValidator()?,
- String? userNameHelperText,
- String? userNameHintText,
- String? userNameLabelText,
- String? address1HintText,
- String? address1HelperText,
- String? address1LabelText,
- String? address2HintText,
- String? address2HelperText,
- String? address2LabelText,
- String? dobLabelText,
- String? dobHintText,
- String? dobHelperText,
- dynamic onGenderChanged()?,
- String? address1Validator()?,
- String? address2Validator()?,
- String? genderBlockTitle,
- List<
String> ? genderList, - String? selectedGender,
- bool isEmailEnabled = true,
- dynamic onImagePicked()?,
- String? pickImageCameraText,
- String? pickImageGalleryText,
- PreferredSize? appBar,
- bool isDisplayNameEnabled = true,
- Widget? displayNamePrefixIcon,
- bool isCalendarEnabled = true,
- bool isGenderSelectorsEnabled = true,
- bool isAddress1Enabled = true,
- bool isAddress2Enabled = true,
- Widget? address1PrefixIcon,
- Widget? address2PrefixIcon,
- required TextEditingController zipCodeController,
- required TextEditingController stateController,
- required TextEditingController countryController,
- String? zipCodeHintText,
- String? stateHintText,
- String? countryHintText,
- String? zipCodeLabelText,
- String? zipCodeHelperText,
- Widget? zipCodePrefixIcon,
- String? stateLabelText,
- String? stateHelperText,
- String? stateValidator()?,
- String? countryValidator()?,
- String? zipCodeValidator()?,
- String? countryHelperText,
- Widget? statePrefixIcon,
- Widget? countryPrefixIcon,
- String? countryLabelText,
- bool showFiveLinesAddressForm = false,
Implementation
const EditUserProfile({
super.key,
this.emailController,
this.fieldsLabelStyle,
this.fieldsTextStyle,
this.fieldsStrutStyle,
this.eMailOnChanged,
this.eMailOnTap,
this.eMailPrefixIcon,
this.emailHintText,
this.emailLabelText,
this.onDatePicked,
this.onNameChanged,
this.emailValidator,
this.emailHelperText,
this.loginButtonText = 'Login',
this.onLoginPressed,
this.userNameController,
required this.address1Controller,
required this.address2Controller,
this.usernameValidator,
this.userNameHelperText,
this.userNameHintText,
this.userNameLabelText,
this.address1HintText,
this.address1HelperText,
this.address1LabelText,
this.address2HintText,
this.address2HelperText,
this.address2LabelText,
this.dobLabelText,
this.dobHintText,
this.dobHelperText,
this.onGenderChanged,
this.address1Validator,
this.address2Validator,
this.genderBlockTitle,
this.genderList,
this.selectedGender,
this.isEmailEnabled = true,
this.onImagePicked,
this.pickImageCameraText,
this.pickImageGalleryText,
this.appBar,
this.isDisplayNameEnabled = true,
this.displayNamePrefixIcon,
this.isCalendarEnabled = true,
this.isGenderSelectorsEnabled = true,
this.isAddress1Enabled = true,
this.isAddress2Enabled = true,
this.address1PrefixIcon,
this.address2PrefixIcon,
required this.zipCodeController,
required this.stateController,
required this.countryController,
this.zipCodeHintText,
this.stateHintText,
this.countryHintText,
this.zipCodeLabelText,
this.zipCodeHelperText,
this.zipCodePrefixIcon,
this.stateLabelText,
this.stateHelperText,
this.stateValidator,
this.countryValidator,
this.zipCodeValidator,
this.countryHelperText,
this.statePrefixIcon,
this.countryPrefixIcon,
this.countryLabelText,
this.showFiveLinesAddressForm = false,
});