LocationServices class
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- 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
Static Properties
-
checkAndRequestPermission
→ Future<
LocationPermission> -
no setter
-
getPosition
→ Future<
Position> -
no setter
-
locationStatus
→ Future<
LocationPermission> -
no setter
-
requestPermission
→ Future<
LocationPermission> -
no setter
-
watchPosition
→ Stream<
Position> -
no setter
Static Methods
-
getCurrentPosition(
{bool openSettingsIfDenied = false}) → Future< Position?> -
openAppSettings(
) → Future< void> -
openLocationSettings(
) → Future< void> -
watchLivePosition(
{bool openSettingsIfDenied = false, LocationAccuracy accuracy = LocationAccuracy.high, int distanceFilter = 10}) → Stream< Position?>