SimpleClusterOptions constructor
const
SimpleClusterOptions({
- required Image? icon,
- MapDirection? iconMapDirection = null,
- Anchor anchor = const Anchor(x: 0.5, y: 0.5),
- String? text = null,
- TextStyle? textStyle = null,
- Opacity iconOpacity = const Opacity(1),
- LogicalPixel iconWidth = const LogicalPixel(0),
- Object? userData = const {},
- ZIndex zIndex = const ZIndex(0),
- bool animatedAppearance = true,
- AnimationMode iconAnimationMode = AnimationMode.normal,
Implementation
const SimpleClusterOptions({
required this.icon,
this.iconMapDirection = null,
this.anchor = const Anchor(x: 0.5, y: 0.5),
this.text = null,
this.textStyle = null,
this.iconOpacity = const Opacity(1),
this.iconWidth = const LogicalPixel(0),
this.userData = const {},
this.zIndex = const ZIndex(0),
this.animatedAppearance = true,
this.iconAnimationMode = AnimationMode.normal
});