SimpleClusterOptions constructor

const SimpleClusterOptions({
  1. required Image? icon,
  2. MapDirection? iconMapDirection = null,
  3. Anchor anchor = const Anchor(x: 0.5, y: 0.5),
  4. String? text = null,
  5. TextStyle? textStyle = null,
  6. Opacity iconOpacity = const Opacity(1),
  7. LogicalPixel iconWidth = const LogicalPixel(0),
  8. Object? userData = const {},
  9. ZIndex zIndex = const ZIndex(0),
  10. bool animatedAppearance = true,
  11. 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
});