createImage method

  1. @override
ImageProvider createImage(
  1. Balloon balloon,
  2. BalloonAnchor anchor,
  3. double scaleFactor,
  4. bool isNightMode,
)
override

Implementation

@override
ImageProvider createImage(Balloon balloon, BalloonAnchor anchor,
        double scaleFactor, bool isNightMode) =>
    _balloonImageProvider
        .createImage(balloon, anchor,
            scaleFactor: scaleFactor, isNightMode: isNightMode)
        .toImageProvider();