image property

String? image
getter/setter pair

A custom image that the map annotation displays. Supports three formats:

  • Asset path: images/marker.png (from pubspec.yaml assets)
  • File path: file:///path/to/image.png (local file on device)
  • Network URL: https://example.com/image.png (remote image)

Implementation

String? image;