CPMapButton constructor

CPMapButton({
  1. required OnClickEvents onClickEvent,
  2. bool isEnabled = true,
  3. bool isHidden = false,
  4. String? focusedImage,
  5. int? tintColor,
  6. String? darkImage,
  7. String? image,
})

Creates CPMapButton

Implementation

CPMapButton({
  required this.onClickEvent,
  this.isEnabled = true,
  this.isHidden = false,
  this.focusedImage,
  this.tintColor,
  this.darkImage,
  this.image,
});