EWAddressPicker.fiveLines constructor

EWAddressPicker.fiveLines({
  1. Key? key,
  2. String? validatorAddressLine1(
    1. String?
    )?,
  3. String? validatorAddressLine2(
    1. String?
    )?,
  4. String? validatorZipCode(
    1. String?
    )?,
  5. String? validatorState(
    1. String?
    )?,
  6. String? validatorCountry(
    1. String?
    )?,
  7. required TextEditingController controllerAddressLine1,
  8. required TextEditingController controllerAddressLine2,
  9. required TextEditingController controllerZipCode,
  10. required TextEditingController controllerState,
  11. required TextEditingController controllerCountry,
  12. String? hintTextAddressLine1,
  13. String? hintTextAddressLine2,
  14. String? hintTextZipCode,
  15. String? hintTextState,
  16. String? hintTextCountry,
  17. Widget? prefixIconAddressLine1,
  18. Widget? prefixIconAddressLine2,
  19. Widget? prefixIconZipCode,
  20. Widget? prefixIconState,
  21. Widget? prefixIconCountry,
  22. String? labelTextAddressLine1,
  23. String? labelTextAddressLine2,
  24. String? labelTextZipCode,
  25. String? labelTextState,
  26. String? labelTextCountry,
  27. String? helperTextAddressLine1,
  28. String? helperTextAddressLine2,
  29. String? helperTextZipCode,
  30. String? helperTextState,
  31. String? helperTextCountry,
  32. dynamic onChangedAddressLine1(
    1. String
    )?,
  33. dynamic onChangedAddressLine2(
    1. String
    )?,
  34. dynamic onChangedZipCode(
    1. String
    )?,
  35. dynamic onChangedState(
    1. String
    )?,
  36. dynamic onChangedCountry(
    1. String
    )?,
  37. dynamic onTapAddressLine1()?,
  38. dynamic onTapAddressLine2()?,
  39. dynamic onTapZipCode()?,
  40. dynamic onTapState()?,
  41. dynamic onTapCountry()?,
  42. TextStyle? labelStyle,
  43. TextStyle? textStyleAddressLine1,
  44. TextStyle? textStyleAddressLine2,
  45. TextStyle? textStyleZipCode,
  46. TextStyle? textStyleState,
  47. TextStyle? textStyleCountry,
  48. StrutStyle? strutStyleAddressLine1,
  49. StrutStyle? strutStyleAddressLine2,
  50. StrutStyle? strutStyleZipCode,
  51. StrutStyle? strutStyleState,
  52. StrutStyle? strutStyleCountry,
  53. bool isEnabled = true,
  54. bool readOnly = false,
  55. FocusNode? addressLine1FocusNode,
  56. FocusNode? addressLine2FocusNode,
  57. FocusNode? zipCodeFocusNode,
  58. FocusNode? stateFocusNode,
  59. FocusNode? countryFocusNode,
  60. PreferredSize? appBar,
})

Implementation

factory EWAddressPicker.fiveLines({
  Key? key,
  String? Function(String?)? validatorAddressLine1,
  String? Function(String?)? validatorAddressLine2,
  String? Function(String?)? validatorZipCode,
  String? Function(String?)? validatorState,
  String? Function(String?)? validatorCountry,
  required TextEditingController controllerAddressLine1,
  required TextEditingController controllerAddressLine2,
  required TextEditingController controllerZipCode,
  required TextEditingController controllerState,
  required TextEditingController controllerCountry,
  String? hintTextAddressLine1,
  String? hintTextAddressLine2,
  String? hintTextZipCode,
  String? hintTextState,
  String? hintTextCountry,
  Widget? prefixIconAddressLine1,
  Widget? prefixIconAddressLine2,
  Widget? prefixIconZipCode,
  Widget? prefixIconState,
  Widget? prefixIconCountry,
  String? labelTextAddressLine1,
  String? labelTextAddressLine2,
  String? labelTextZipCode,
  String? labelTextState,
  String? labelTextCountry,
  String? helperTextAddressLine1,
  String? helperTextAddressLine2,
  String? helperTextZipCode,
  String? helperTextState,
  String? helperTextCountry,
  Function(String)? onChangedAddressLine1,
  Function(String)? onChangedAddressLine2,
  Function(String)? onChangedZipCode,
  Function(String)? onChangedState,
  Function(String)? onChangedCountry,
  Function()? onTapAddressLine1,
  Function()? onTapAddressLine2,
  Function()? onTapZipCode,
  Function()? onTapState,
  Function()? onTapCountry,
  TextStyle? labelStyle,
  TextStyle? textStyleAddressLine1,
  TextStyle? textStyleAddressLine2,
  TextStyle? textStyleZipCode,
  TextStyle? textStyleState,
  TextStyle? textStyleCountry,
  StrutStyle? strutStyleAddressLine1,
  StrutStyle? strutStyleAddressLine2,
  StrutStyle? strutStyleZipCode,
  StrutStyle? strutStyleState,
  StrutStyle? strutStyleCountry,
  bool isEnabled = true,
  bool readOnly = false,
  FocusNode? addressLine1FocusNode,
  FocusNode? addressLine2FocusNode,
  FocusNode? zipCodeFocusNode,
  FocusNode? stateFocusNode,
  FocusNode? countryFocusNode,
  final PreferredSize? appBar,
}) =>
    EWAddressPicker(
      appBar: appBar,
      key: key,
      addressPickerType: const FiveLines(),
      controllerAddressLine1: controllerAddressLine1,
      controllerAddressLine2: controllerAddressLine2,
      controllerZipCode: controllerZipCode,
      controllerState: controllerState,
      controllerCountry: controllerCountry,
      hintTextAddressLine1: hintTextAddressLine1,
      hintTextAddressLine2: hintTextAddressLine2,
      hintTextZipCode: hintTextZipCode,
      hintTextState: hintTextState,
      hintTextCountry: hintTextCountry,
      prefixIconAddressLine1: prefixIconAddressLine1,
      prefixIconAddressLine2: prefixIconAddressLine2,
      prefixIconZipCode: prefixIconZipCode,
      prefixIconState: prefixIconState,
      prefixIconCountry: prefixIconCountry,
      labelTextAddressLine1: labelTextAddressLine1,
      labelTextAddressLine2: labelTextAddressLine2,
      labelTextZipCode: labelTextZipCode,
      labelTextState: labelTextState,
      labelTextCountry: labelTextCountry,
      helperTextAddressLine1: helperTextAddressLine1,
      helperTextAddressLine2: helperTextAddressLine2,
      helperTextZipCode: helperTextZipCode,
      helperTextState: helperTextState,
      helperTextCountry: helperTextCountry,
      onChangedAddressLine1: onChangedAddressLine1,
      onChangedAddressLine2: onChangedAddressLine2,
      onChangedZipCode: onChangedZipCode,
      onChangedState: onChangedState,
      onChangedCountry: onChangedCountry,
      addressLine2FocusNode: addressLine2FocusNode,
      labelStyle: labelStyle,
      textStyleAddressLine1: textStyleAddressLine1,
      textStyleAddressLine2: textStyleAddressLine2,
      textStyleZipCode: textStyleZipCode,
      textStyleState: textStyleState,
      textStyleCountry: textStyleCountry,
      strutStyleAddressLine1: strutStyleAddressLine1,
      strutStyleAddressLine2: strutStyleAddressLine2,
      strutStyleZipCode: strutStyleZipCode,
      strutStyleState: strutStyleState,
      strutStyleCountry: strutStyleCountry,
    );