offline_tiles library
Classes
- BudgetExhausted
-
Emitted once after
sustainedFramesconsecutive over-budget frames. Carries the over-budgetconsumed(most-recent over-budget frame) andovershoot(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
consumedandremainingdurations at the moment of the warning. - CachedCoverageRegion
- FrameTimingProvider
-
Integrator-supplied source of
FrameTimingevents. - 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)