ManualAddressEntryWidget constructor

const ManualAddressEntryWidget({
  1. Key? key,
  2. dynamic onLocationChanged(
    1. LocationResult?
    )?,
  3. LocationPickerTheme? theme,
  4. String addressLabel = 'Address',
  5. String cityLabel = 'City',
  6. String stateLabel = 'State/Province',
  7. String countryLabel = 'Country',
  8. String postalCodeLabel = 'Postal Code',
  9. String? addressHint,
  10. String? cityHint,
  11. String? stateHint,
  12. String? countryHint,
  13. String? postalCodeHint,
  14. LocationResult? initialLocation,
  15. bool useDropdownsForCountryState = true,
  16. List<String>? allowedCountries,
  17. bool lockFieldsForGooglePlaces = true,
})

Implementation

const ManualAddressEntryWidget({
  super.key,
  this.onLocationChanged,
  this.theme,
  this.addressLabel = 'Address',
  this.cityLabel = 'City',
  this.stateLabel = 'State/Province',
  this.countryLabel = 'Country',
  this.postalCodeLabel = 'Postal Code',
  this.addressHint,
  this.cityHint,
  this.stateHint,
  this.countryHint,
  this.postalCodeHint,
  this.initialLocation,
  this.useDropdownsForCountryState = true,
  this.allowedCountries,
  this.lockFieldsForGooglePlaces = true,
});