BMFAndroidVersion class Null safety

获取android系统版本号

Constructors

BMFAndroidVersion()

Properties

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

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

Static Properties

getAndroidVersion → bool
获取Android 系统版本是否小于10
read-only
mIsAndroidVersion ↔ bool
Android 系统版本是否小于10 默认false小于10,使用textureMapview渲染
read / write
setAndroidVersion ← bool
设置系统版本是否小于Android 10
write-only

Static Methods

initAndroidVersion() → Future<void>
初始化时获取系统版本,适配BMFMapWidget在flutter sdk升级3.0之后兼容底版本手机问题。 Andriod 10 以下手机上在使用BMFMapWidget的时,使用textureMapview渲染。 Android 10 及以上机型则使用surfaceMapView渲染。 默认 mIsAndroidVersion 是false,使用textureMapview渲染