offline_tiles 0.5.4 copy "offline_tiles: ^0.5.4" to clipboard
offline_tiles: ^0.5.4 copied to clipboard

MBTiles-backed offline tile management for flutter_map. Pre-cache routes / regions; resolve tiles locally when offline.

0.5.4 #

Widens the navigation_safety_core constraint to >=0.10.0 <0.12.0.

The previous ^0.10.0 constraint excluded core 0.11.x, so a project that asked for the current core could not also take this package at its current version. The resolver silently selected an older release of this package instead, with no error and no warning. Core 0.11.0 and 0.11.1 are additive (a re-export, and a percent-to-fraction humidity factory); this package compiles and its full test suite passes against 0.11.1.

Also removes a dependency_overrides block that referenced sibling packages by relative path. It was inert for consumers, but it prevented this package from resolving standalone from its published archive.

No API or behaviour change.

Changelog #

0.5.3 #

  • docs: correct stale README install pin to current version (no API change).

0.5.2 #

  • Republish from the embedded-target Dart 3.10.1 SDK (Flutter 3.38.3) to correct a stale ^3.11.0 SDK floor in the previously-published artifact. No source or behavior change; the source already declared sdk: ^3.10.0. Restores pub get for embedded/automotive Dart consumers on Dart 3.10.x.

0.5.1 — 2026-05-10 — Pana score recovery (Theme α P4) #

  • Trim pubspec description to within the pana 60–180 character target.
  • Apply dart format to clear any formatter findings.
  • No SDK source changes; metadata + format pass only.

0.5.0 #

  • Add PerformanceBudget — stateful frame-timing budget tracker for tile-render advisory cognitive-load management. Integrator-supplied FrameTimingProvider interface; per-frame budget checked against PerformanceBudgetConfig; broadcast budgetEvents stream emits BudgetWarning (75% sustained) / BudgetExhausted (100% sustained over sustainedFrames consecutive frames). Mirrors the GlanceBudgetTracker pattern from navigation_safety 0.9.0 (caution-add-only / severity-not-profile / driver-always-drives invariants enforced via debug-mode runtime asserts).
  • Add PerformanceBudgetConfig.forProfile(DriverProfile) factory — per- cohort lenient-direction defaults (16ms baseline / 18ms noviceUrban / 22ms ageingRural + foreignTouristSnowZone for visual-cognitive-margin). Per-cohort budgets are UNVERIFIED-magnitude design-default-hypothesis pending field- measurement validation; conservative-only (every cohort >= 16ms baseline). Per-population calibration deferred.
  • Add BudgetResetReason enum — render-cycle / long-pause / explicit.
  • Add navigation_safety_core: ^0.10.0 dependency for DriverProfile consumption. Add equatable: ^2.0.7 (used by sealed event classes).
  • Add SAFETY_BOUNDARY.md (driving-automation-regime declaration; PerformanceBudget invariants; ASIL-QM advisory; severity-not-profile
    • driver-always-drives preserved).
  • Add KNOWN_LIMITATIONS.md (per-cohort budget UNVERIFIED-magnitude flags + integrator-side FrameTimingProvider supply-chain caveats).
  • Public API additions are non-breaking; existing OfflineTileManager / providers / resolvers contracts unchanged.

0.4.0 #

  • Migrate to mbtiles ^0.5.0 and sqlite3 ^3.2.0 (native assets).
  • Remove EOL sqflite dependency.
  • Remove unused flutter_map_mbtiles phantom dependency.
  • Internal API update: MbTiles(path:), MbTiles.create(path:), close() replacing dispose().
  • Public API unchanged: OfflineTileManager(mbtilesPath:) contract preserved.

0.3.0 #

  • Harmonize package version to 0.3.0 for Sprint 80 Direction F.
  • Align internal ecosystem dependency constraints to ^0.3.0 where applicable.
  • No breaking API changes in this package for this release.
1
likes
150
points
295
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

MBTiles-backed offline tile management for flutter_map. Pre-cache routes / regions; resolve tiles locally when offline.

Repository (GitHub)
View/report issues
Contributing

Topics

#offline #mbtiles #flutter-map #navigation #automotive

License

BSD-3-Clause (license)

Dependencies

equatable, flutter, flutter_map, latlong2, mbtiles, navigation_safety_core, path_provider, sqlite3

More

Packages that depend on offline_tiles