FlutterAmapLocation class
Constructors
- FlutterAmapLocation({String? pluginKey})
- 初始化
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
-
destroy(
) → void - 销毁定位
-
getSystemAccuracyAuthorization(
) → Future< AMapAccuracyAuthorization> - 适配iOS 14定位新特性,只在iOS平台有效
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
onLocationChanged(
) → Stream< Map< String, Object> > -
setLocationOption(
AMapLocationOption locationOption) → void - 设置定位参数
-
startLocation(
) → Future< int> - 开始定位
-
stopLocation(
) → void - 停止定位
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
-
platformVersion
→ Future<
String?> -
no setter
Static Methods
-
goDetail(
) → void -
goLocationSetting(
) → void -
isLocServiceEnable(
) → Future< bool> -
setApiKey(
String androidKey, String iosKey) → Future -
startActivity(
IntentOption intentOption) → Future< int> -
startBackgroundLocation(
) → Future< int> -
stopBackgroundLocation(
) → void -
updatePrivacyAgree(
bool hasAgree) → Future -
updatePrivacyShow(
bool hasContains, bool hasShow) → Future -
whiteListMatters(
bool showTip) → void