BitmapDescriptor class
Bitmap工具类
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
-
toMap(
) → dynamic -
toString(
) → String -
Returns 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
Constants
- defaultMarker → const BitmapDescriptor
-
创建默认的marker 图标的 bitmap 描述信息对象.
const BitmapDescriptor._(const <dynamic>['defaultMarker'])
- hueAzure → const double
-
天蓝色.
210.0
- hueBlue → const double
-
蓝色.
240.0
- hueCyan → const double
-
青色.
180.0
- hueGreen → const double
-
绿色.
120.0
- hueMagenta → const double
-
酒红色.
300.0
- hueOrange → const double
-
橙色.
30.0
- hueRed → const double
-
红色.
0.0
- hueRose → const double
-
玫瑰红.
330.0
- hueViolet → const double
-
紫色.
270.0
- hueYellow → const double
-
黄色.
60.0