onLocationSelected property

FutureOr<void> Function(ResolvedLocation location) onLocationSelected
final

Called after a suggestion or GPS location has been resolved.

The selector stays in its resolving state until the returned future completes, allowing consumers to perform asynchronous work such as validation, persistence, or navigation without re-enabling the UI early.

Implementation

final FutureOr<void> Function(ResolvedLocation location) onLocationSelected;