dataSource property

LocationDataSource dataSource

The location data source used for generating location updates.

LocationDisplay uses a location data source to provide the current position of the device. To start receiving location updates, and display the current location, you must start the location data source.

By default the location data source obtains locations from the device's operating system.

Alternative location data sources include:

Implementation

LocationDataSource get dataSource => _dataSource.value;
void dataSource=(LocationDataSource value)

Implementation

set dataSource(LocationDataSource value) => _dataSource.value = value;