EditUserProfile constructor

const EditUserProfile({
  1. Key? key,
  2. TextEditingController? emailController,
  3. TextStyle? fieldsLabelStyle,
  4. TextStyle? fieldsTextStyle,
  5. StrutStyle? fieldsStrutStyle,
  6. dynamic eMailOnChanged(
    1. String
    )?,
  7. GestureTapCallback? eMailOnTap,
  8. Widget? eMailPrefixIcon,
  9. String? emailHintText,
  10. String? emailLabelText,
  11. dynamic onDatePicked(
    1. DateTime
    )?,
  12. dynamic onNameChanged(
    1. String
    )?,
  13. String? emailValidator(
    1. String?
    )?,
  14. String? emailHelperText,
  15. String loginButtonText = 'Login',
  16. VoidCallback? onLoginPressed,
  17. TextEditingController? userNameController,
  18. required TextEditingController address1Controller,
  19. required TextEditingController address2Controller,
  20. String? usernameValidator(
    1. String?
    )?,
  21. String? userNameHelperText,
  22. String? userNameHintText,
  23. String? userNameLabelText,
  24. String? address1HintText,
  25. String? address1HelperText,
  26. String? address1LabelText,
  27. String? address2HintText,
  28. String? address2HelperText,
  29. String? address2LabelText,
  30. String? dobLabelText,
  31. String? dobHintText,
  32. String? dobHelperText,
  33. dynamic onGenderChanged(
    1. String
    )?,
  34. String? address1Validator(
    1. String?
    )?,
  35. String? address2Validator(
    1. String?
    )?,
  36. String? genderBlockTitle,
  37. List<String>? genderList,
  38. String? selectedGender,
  39. bool isEmailEnabled = true,
  40. dynamic onImagePicked(
    1. List<XFile>?
    )?,
  41. String? pickImageCameraText,
  42. String? pickImageGalleryText,
  43. PreferredSize? appBar,
  44. bool isDisplayNameEnabled = true,
  45. Widget? displayNamePrefixIcon,
  46. bool isCalendarEnabled = true,
  47. bool isGenderSelectorsEnabled = true,
  48. bool isAddress1Enabled = true,
  49. bool isAddress2Enabled = true,
  50. Widget? address1PrefixIcon,
  51. Widget? address2PrefixIcon,
  52. required TextEditingController zipCodeController,
  53. required TextEditingController stateController,
  54. required TextEditingController countryController,
  55. String? zipCodeHintText,
  56. String? stateHintText,
  57. String? countryHintText,
  58. String? zipCodeLabelText,
  59. String? zipCodeHelperText,
  60. Widget? zipCodePrefixIcon,
  61. String? stateLabelText,
  62. String? stateHelperText,
  63. String? stateValidator(
    1. String?
    )?,
  64. String? countryValidator(
    1. String?
    )?,
  65. String? zipCodeValidator(
    1. String?
    )?,
  66. String? countryHelperText,
  67. Widget? statePrefixIcon,
  68. Widget? countryPrefixIcon,
  69. String? countryLabelText,
  70. 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,
});