offline_tiles library

Classes

BudgetExhausted
Emitted once after sustainedFrames consecutive over-budget frames. Carries the over-budget consumed (most-recent over-budget frame) and overshoot (amount past frameBudget; never negative).
BudgetWarning
Emitted once when the most-recent frame's total time crosses the warning ratio (default 75% of frameBudget consumed). Carries the consumed and remaining durations at the moment of the warning.
CachedCoverageRegion
FrameTimingProvider
Integrator-supplied source of FrameTiming events.
OfflineTileManager
OfflineTileProvider
PerformanceBudget
Stateful tracker for the per-frame render-time budget.
PerformanceBudgetConfig
Configuration for the per-frame render-time budget.
PerformanceBudgetEvent
Sealed event type emitted on the PerformanceBudget.budgetEvents stream. Integrators pattern-match on BudgetWarning / BudgetExhausted.
RuntimeTileResolution
RuntimeTileResolver
TileCacheConfig

Enums

BudgetResetReason
Reason a budget reset was requested by the integrator.
CoverageTier
RuntimeTileSource
TileSourceType

Typedefs

TileFetchCallback = Future<Uint8List?> Function(TileCoordinates coordinates)