NativeTools class

Constructors

NativeTools()
factory

Properties

activityResult List<AndroidActivityResultHandler>
添加回调方法
final
getInstalledApps Future<List<AppPackageInfo>>
get Android installed apps
no setter
gpsStatus Future<bool>
判断GPS是否开启,GPS或者AGPS开启一个就认为是开启的
no setter
hashCode int
The hash code for this object.
no setterinherited
keyboardStatus List<KeyboardStatusHandler>
添加回调方法
final
packageInfo Future<PackageSelfInfo?>
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

exitApp() Future<void>
Exit app
getPackageInfo() Future<PackageSelfInfo?>
get Android/IOS/MacOS info
installApk(String apkPath) Future<bool>
安装apk 仅支持android Installing APK only supports Android
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