InfoWindow constructor

const InfoWindow(
  1. {String? title,
  2. String? snippet,
  3. Offset anchor = const Offset(0.5, 0.0),
  4. VoidCallback? onTap}
)

Creates an immutable representation of a label on for Marker.

Implementation

const InfoWindow({
  this.title,
  this.snippet,
  this.anchor = const Offset(0.5, 0.0),
  this.onTap,
});