MarkerIcon class

Constructors

MarkerIcon.asset(String assetPath, {double width = 48, double height = 48})
asset 图标
factory
MarkerIcon.base64(String base64, {double width = 48, double height = 48})
base64 图标
factory
MarkerIcon.bitmap(Uint8List bytes, {double width = 48, double height = 48})
⚠️ bitmap(不建议 Flutter → 原生)
factory
MarkerIcon.network(String url, {double width = 48, double height = 48})
网络图标
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
height double
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
type String
final
value → dynamic
final
width double
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() Map<String, dynamic>
⭐ 给 Platform Channel 用
toString() String
A string representation of this object.
inherited

Operators

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