KmlBalloonStyle class final

Specifies how the description balloon for a KmlNode is drawn.

Controls the balloon's text, background color, text color, and visibility. Corresponds to a <BalloonStyle> in a KML document.

Implemented types

Constructors

KmlBalloonStyle({required String text, Color backgroundColor = Colors.white, Color textColor = Colors.black, bool isVisible = true})
Creates a KML balloon style with specified text, background color, text color, and visibility.
factory

Properties

backgroundColor ↔ Color
The background color for the balloon. Default is white.
getter/setter pair
hashCode → int
The hash code for this object.
no setterinherited
isVisible ↔ bool
Specifies whether the balloon should be visible. Default is true.
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
text ↔ String
The text (with optional template placeholders) to display in the balloon.
getter/setter pair
textColor ↔ Color
The text color for the balloon. Default is black.
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited