flutter_globe library
A high-performance, interactive 3D globe visualization framework for Flutter featuring animated arcs, pulsing location markers, swappable skins, custom layers, and smooth camera controls.
Classes
- Globe
- A high-performance, interactive 3D Globe widget for Flutter featuring animated great-circle arcs, pulsing location beacons, land dots, atmospheric glow, customizable layers, and quaternion-driven touch interaction.
- GlobeArc
- Represents an elevated, animated great-circle connection arc between two geographic coordinates.
- GlobeAtmosphereStyle
- Visual styling configuration for the atmosphere glow surrounding the globe.
- GlobeCamera
- Camera and projection model for projecting 3D globe coordinates onto the 2D canvas.
- GlobeController
- Controller for programmatic camera manipulation, orientation transitions, zoom levels, and auto-rotation management.
- GlobeCoordinate
- Represents a geographic coordinate with latitude and longitude in degrees.
- GlobeDayNightLayer
- Renders a simulated day/night solar terminator shadow across the globe.
- GlobeGridLayer
- Renders geographic graticule lines (latitudes, longitudes, equator, tropics) on the globe.
- GlobeGridStyle
- Configuration for geographic graticule grid lines (latitudes, longitudes, equator).
- GlobeHeatmapLayer
- Renders a geographic heatmap layer across the globe surface.
- GlobeHeatPoint
- Represents a data-driven geographic heat point.
- GlobeInteractionConfig
- Configuration for touch, pointer, and gesture interaction.
- GlobeIntroAnimation
- Configuration for the globe entrance/reveal animation timeline.
- GlobeIntroAnimations
- Built-in entrance animation presets for the globe.
- GlobeLabel
- Represents a floating text annotation label on the 3D globe.
- GlobeLabelLayer
- Renders lightweight floating text labels with leader lines and limb fading.
- GlobeLayer
- Abstract base class for extensible globe render layers.
- GlobeLightingStyle
- Configuration for simulated directional and ambient lighting.
- GlobeMarker
- Represents a point of interest or beacon on the 3D globe surface with optional pulse animations.
- GlobeMovingObject
- Represents an animated moving vehicle traveling along a GlobeRoute.
- GlobeParticleLayer
- Renders deterministic procedural particles orbiting the globe.
- GlobeRegion
- Represents a geographic polygonal region or country outline.
- GlobeRegionLayer
- Renders country outlines, territorial boundaries, and interactive polygonal regions.
- GlobeRenderContext
- Context provided to every GlobeLayer during the painting phase.
- GlobeRoute
- Represents a multi-stop geographic route connecting sequential waypoints.
- GlobeRouteLayer
- Renders animated multi-waypoint flight corridors, logistics routes, and moving aircraft.
- GlobeSkins
- Predefined visual skins and color palettes for the 3D globe.
- GlobeSurfaceStyle
- Visual styling configuration for the globe's geographic surface.
- GlobeTemplate
- Predefined complete 3D globe scene templates with curated styles, markers, arcs, and layers.
- GlobeTemplates
- Collection of ready-to-use scene templates.
- GlobeTheme
- Complete theme configuration bundling all visual styles, lighting, atmosphere, and grid settings.
- GlobeThemeTransition
- An animated widget that smoothly interpolates between GlobeTheme instances when the target theme changes.
- GlobeTour
- Scripted cinematic camera tour across sequential geographic destinations.
- GlobeTourStop
- Represents a single waypoint destination in an animated GlobeTour.
- GreatCircle
- Provides spherical trigonometry and great-circle geodesic curve generation for arcs.
- ProjectedPoint3D
- Represents a 3D point projected onto the 2D canvas with depth metadata.
- Quaternion3D
- A quaternion for smooth, gimbal-lock-free 3D rotations and spherical interpolation.
- Vector3D
- A high-performance 3D vector representing Cartesian coordinates (x, y, z) and providing vector mathematics for spherical projections.
Enums
- GlobeProjection
- Projection modes for rendering the 3D globe to the 2D canvas.
- GlobeQuality
- Performance and detail quality modes for globe rendering.
- GlobeVehicleType
- Supported types of moving vehicles/objects along routes.
Typedefs
- GlobeTapCallback = void Function(GlobeCoordinate coordinate)
- Callback type for taps on the 3D globe surface.
- MarkerTapCallback = void Function(GlobeMarker marker)
- Callback type for taps on a location marker.