AddressDisplayData class

Data provided to AddressDisplayBuilder.

Contains all information needed to display the current address and handle user interactions.

Constructors

AddressDisplayData({required String? formattedAddress, required ReverseGeocodingResponse? fullResponse, required bool isLoading, required bool hasError, required VoidCallback? openSearchScreen, required bool isSearchEnabled})
Creates address-display data passed to AddressDisplayBuilder.
const

Properties

formattedAddress String?
The formatted address string (e.g., "خیابان آزادی، تهران").
final
fullResponse ReverseGeocodingResponse?
Complete reverse geocoding response with detailed location info.
final
hasError bool
Whether reverse-geocoding request failed.
final
hashCode int
The hash code for this object.
no setterinherited
isLoading bool
Whether the address is currently being fetched.
final
isSearchEnabled bool
Whether search feature is enabled.
final
openSearchScreen VoidCallback?
Callback to open search screen (null if search is disabled).
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited