any_treemap
A composable Flutter treemap with immutable hierarchical data, multiple layouts, drill-down interaction, and replaceable visual layers.
1.0.0
70 downloads/mo
#2835 most downloaded on pub.dev
andry-brill/a-treemap
What this package is like to depend on
Last release 3 days ago
21 Aug 2026
Too new to tell
only 1 dated releases
Nearly every release is documented
notes for 1 of 1 stable releases
Nothing withdrawn
no release was ever pulled
0 months old
1 releases · first in 2026
1 release in the last 12 months
see the full history below
Release timeline
1 releases · Aug 2026 to Aug 2026Releases
latest 1-
1.0.021 Aug 2026Release notes
Open source →- Added
TreemapChart.surrounding,TreemapSurroundingContent, andTreemapSurroundingGridfor placing breadcrumbs, legends, and custom content in eight direction-aware cells around the treemap. The grid supports named slots orfromMap, uses standard flex layout, and leaves sizing to callers. - Breadcrumbs and legends work as either direct surrounding layers or grid
content; custom content uses the
widgetandbuilderfactories. - Split presentation from the treemap core.
TreemapChartnow consumes replaceable tile, label, semantics, tooltip, and surrounding-layer contracts; all contracts and implementations share theany_treemap.dartentry point. - Removed implicit labels, tooltips, legends, breadcrumbs, semantics, empty text, palette, fallback colors, animation, and clipping from the core chart. A tile layer is explicit, and all color-scale fallbacks are required.
- Added no-op, composite, and widget-builder layers plus immutable visual contexts. Included labels and semantics target deepest visible blocks while tile layers retain ancestor geometry for hierarchy painting.
- Added optimized
TreemapCanvasLabelsand fully customizable, per-node clippedTreemapWidgetLabels. Canvas labels support a configurable ellipsis; label rendering no longer measures or changes layout geometry. - Moved interaction contracts out of appearance code and changed presentation data labels/color values to remain nullable instead of inventing display strings or weight-based colors in the core.
- Removed per-node minimum dimensions from
TreemapNode; minimum width, height, and area thresholds now belong exclusively toTreemapLayoutConfig. - Removed device-pixel snapping from core geometry and removed implicit high-contrast appearance mutation and context state.
- Renamed node and record
colorValueinputs tocolor. A FlutterColornow bypasses the included appearance resolver's configured color scale. - Removed
emptyBuilder,TreemapEmptyBuilder, andTreemapEmptyState; empty geometry now always produces the neutralSizedBox.shrinkoutput. - Moved flat-record construction to
TreemapNode.fromRecordsand removed bothTreemapNodeFactoryandTreemapChart.fromRecords.
- Added