AddressDisplayData constructor

const AddressDisplayData({
  1. required String? formattedAddress,
  2. required ReverseGeocodingResponse? fullResponse,
  3. required bool isLoading,
  4. required bool hasError,
  5. required VoidCallback? openSearchScreen,
  6. required bool isSearchEnabled,
})

Creates address-display data passed to AddressDisplayBuilder.

All fields are required so custom builders can render a complete UI state.

Implementation

const AddressDisplayData({
  required this.formattedAddress,
  required this.fullResponse,
  required this.isLoading,
  required this.hasError,
  required this.openSearchScreen,
  required this.isSearchEnabled,
});