KmlBalloonStyle constructor

KmlBalloonStyle({
  1. required String text,
  2. Color backgroundColor = Colors.white,
  3. Color textColor = Colors.black,
  4. bool isVisible = true,
})

Creates a KML balloon style with specified text, background color, text color, and visibility.

Parameters:

  • text — The text template used to format balloon content.
  • backgroundColor — The background color for the balloon. Default is white.
  • textColor — The text color for the balloon. Default is black.
  • isVisible — Specifies whether the balloon should be visible. Default is true.