LocationOptions class

Represents different options to configure the quality and frequency of location updates.

Constructors

LocationOptions({LocationAccuracy accuracy = LocationAccuracy.best, int distanceFilter = 0, bool forceAndroidLocationManager = false, int timeInterval = 0})
Initializes a new LocationOptions instance with default values. [...]
const

Properties

accuracy LocationAccuracy
Defines the desired accuracy that should be used to determine the location data. [...]
final
distanceFilter int
The minimum distance (measured in meters) a device must move horizontally before an update event is generated. [...]
final
forceAndroidLocationManager bool
Uses FusedLocationProviderClient by default and falls back to LocationManager when set to true. [...]
final
hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
timeInterval int
The desired interval for active location updates, in milliseconds (Android only). [...]
final

Methods

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

Operators

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