h3_core 1.0.2 copy "h3_core: ^1.0.2" to clipboard
h3_core: ^1.0.2 copied to clipboard

Dart/Flutter bindings for the H3 geospatial indexing library. Uses dart:ffi on native platforms, h3-js on web.

1.0.2 #

  • Fix Windows build: add BUILD_SHARED_LIBS and BUILDING_H3 defines for DLL symbol export
  • Fix Windows build: skip libm linking (math is part of the C runtime on Windows)
  • Remove deprecated avoid_returning_null_for_future lint rule
  • Add CI/CD: automated testing on Linux, macOS, Windows, and Chrome
  • Add automated publishing to pub.dev via GitHub Actions OIDC

1.0.1 #

  • Web support via h3-js and dart:js_interop
  • H3Index changed from int-backed to String-backed to avoid JS number precision loss
  • Same public API on all platforms (conditional export: FFI on native, h3-js on web)
  • getIndexDigit / constructCell use BigInt on web for 64-bit precision

1.0.0 #

  • Initial release wrapping H3 v4.4.1
  • Full H3 API: indexing, inspection, traversal, hierarchy, edges, vertices, measurements, regions, coordinates
  • Native compilation via Build Hooks for Android, iOS, macOS, Linux, Windows
  • Auto-generated FFI bindings via ffigen 20.x
  • Async wrappers for heavy operations (polygonToCells, gridDisk, compact/uncompact)
2
likes
0
points
217
downloads

Publisher

verified publisherwayq.in

Weekly Downloads

Dart/Flutter bindings for the H3 geospatial indexing library. Uses dart:ffi on native platforms, h3-js on web.

Repository (GitHub)
View/report issues

Topics

#h3 #geospatial #hexagonal #indexing #geo

License

unknown (license)

Dependencies

code_assets, ffi, glob, hooks, logging, native_toolchain_c

More

Packages that depend on h3_core