MarkerOption class
Marker创建参数
- Annotations
Constructors
-
MarkerOption({required LatLng coordinate, String title = '', String snippet = '', Widget? widget, bool draggable = false, bool infoWindowEnabled = true, bool visible = true, double rotateAngle = 0, double anchorU = 0.5, double anchorV = 0, String? object, double? opacity, ImageProvider<
Object> ? iconProvider, List<ImageProvider< ? iconsProvider, int? animationFps, Widget? infoWindow})Object> >
Properties
- anchorU → double
-
横轴锚点
final
- anchorV → double
-
纵轴锚点
final
- animationFps → int?
-
帧动画帧率
final
- coordinate → LatLng
-
经纬度
final
- draggable → bool
-
是否可拖动
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
iconProvider
→ ImageProvider<
Object> ? -
图标
final
-
iconsProvider
→ List<
ImageProvider< ?Object> > -
帧动画图标
final
- infoWindow → Widget?
-
final
- infoWindowEnabled → bool
-
是否允许弹窗
final
- object → String?
-
自定义数据 理论上可以使用任何类型的数据, 但是为了减少意外情况, 这里一律转换成String来保存
final
- opacity → double?
-
透明度
final
- rotateAngle → double
-
旋转角度 单位为度(°)
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- snippet → String
-
副标题
final
- title → String
-
标题
final
- visible → bool
-
是否可见
final
- widget → Widget?
-
Widget形式的Marker
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited