GlobeSurfaceStyle class

Visual styling configuration for the globe's geographic surface.

Annotations

Constructors

GlobeSurfaceStyle({Color surfaceColor = const Color(0xFF030712), Color landColor = const Color(0xFF9CA3AF), double pointSize = 1.65, double pointOpacity = 0.95, double rearPointOpacity = 0.0, double globeOpacity = 1.0})
Creates the dotted land and base-sphere style.
const

Properties

globeOpacity → double
Sphere and land opacity multiplier in (0 to 1).
final
hashCode → int
The hash code for this object.
no setterinherited
landColor → Color
Color of geographic land dots.
final
pointOpacity → double
Front land-dot opacity multiplier in (0 to 1).
final
pointSize → double
Land-dot radius in logical pixels; use a nonnegative finite value.
final
rearPointOpacity → double
Rear land-dot opacity in (0 to 1); zero hides rear points.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
surfaceColor → Color
Base sphere fill color.
final

Methods

copyWith({Color? surfaceColor, Color? landColor, double? pointSize, double? pointOpacity, double? rearPointOpacity, double? globeOpacity}) → GlobeSurfaceStyle
Copies these tokens, retaining any field whose argument is omitted.
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

Static Methods

lerp(GlobeSurfaceStyle a, GlobeSurfaceStyle b, double t) → GlobeSurfaceStyle
Linearly interpolates between two GlobeSurfaceStyle instances.