BitmapDescriptor class

Bitmap工具类

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
toMap() → dynamic
toString() String
A string representation of this object.
inherited

Operators

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

Static Methods

defaultMarkerWithHue(double hue) BitmapDescriptor
创建引用默认着色的BitmapDescriptor
fromAssetImage(ImageConfiguration configuration, String assetName, {AssetBundle? bundle, String? package, bool mipmaps = true}) Future<BitmapDescriptor>
从资源图像创建BitmapDescriptor
fromBytes(Uint8List byteData) BitmapDescriptor
根据将PNG图片转换后的二进制数据byteData创建BitmapDescriptor
fromIconPath(String iconPath) BitmapDescriptor
根据输入的icon路径iconPath创建BitmapDescriptor

Constants

defaultMarker → const BitmapDescriptor
创建默认的marker 图标的 bitmap 描述信息对象.
hueAzure → const double
天蓝色.
hueBlue → const double
蓝色.
hueCyan → const double
青色.
hueGreen → const double
绿色.
hueMagenta → const double
酒红色.
hueOrange → const double
橙色.
hueRed → const double
红色.
hueRose → const double
玫瑰红.
hueViolet → const double
紫色.
hueYellow → const double
黄色.