logo
ALPHABYTE

Open source

Our open source libraries

We release some of the building blocks we create for our Flutter projects under an open licence. The code is public, readable and reusable: it is the most direct way to show how we work.

Building for several clients surfaces the same problems: managing the state of data coming from a server, showing a map that behaves correctly on every platform. Rather than rewriting these pieces on each project, we isolate them, document them and publish them. Our clients benefit directly, and the code stays open to inspection by anyone.

These libraries are grouped under the DartStack organisation, which describes itself as “the open source application stack for Dart & Flutter” and centralises their documentation.

Tanstack Query for Flutter

Dart / Flutter

tanstack_query

Async state management for Flutter: fetching, caching, synchronising and updating data that comes from a server.

The library brings the query and cache patterns of TanStack Query v5, widely used on the React side, to Flutter. It answers a problem every connected application eventually runs into: knowing which data is fresh, which needs reloading, and how to avoid asking the server for the same thing ten times over.

What the library does

  • Protocol-agnostic fetching: REST, GraphQL or any async function
  • Caching, refetching, pagination and infinite scroll
  • Mutations, dependent queries and background updates
  • Prefetching and cancellation of in-flight requests
  • An API built on QueryClient, QueryCache and the useQuery, useInfiniteQuery and useMutation hooks

Platforms

Flutter, all platforms

Status

Actively developed. Documentation is published at flutter-tanstack.com.

View the GitHub repositoryRead the documentation

Unified Map

Dart / Flutter

flutter_unified_map

Native maps for Flutter behind a single flutter_map-style API: Google Maps on Android, Apple MapKit on iOS and macOS.

Showing a map in a Flutter application usually means choosing between native rendering, specific to each platform, and a single library with consistent behaviour but less platform integration. Unified Map removes that choice: you write map code once, and each platform uses its native engine.

What the library does

  • Layers that keep the flutter_map names: MarkerLayer, PolylineLayer, PolygonLayer, CircleLayer and TileLayer
  • Markers whose content is a Flutter widget, rasterised for the native engine
  • Marker clustering through a dedicated package, flutter_unified_map_marker_cluster
  • User location display and customisable error handling
  • A plugin API for writing your own layers

Platforms

Android (Google Maps SDK), iOS and macOS (Apple MapKit), Web, Windows and Linux (flutter_map with OpenStreetMap tiles)

Status

In development, under the MIT licence. The packages are not yet published on pub.dev: installation currently uses a local path dependency.


Flutter and Dart are trademarks of Google LLC. AlphaByte is affiliated with neither Google nor the TanStack team.