anchor_kit
Headless anchor-positioning primitives for popovers, tooltips, dropdowns and menus. A Floating UI for Flutter.
0.1.0
redhotsixbull/anchor_kit
What this package is like to depend on
Last release 3 days ago
21 Aug 2026
Too new to tell
only 2 dated releases
Nearly every release is documented
notes for 1 of 1 stable releases
Nothing withdrawn
no release was ever pulled
0 months old
2 releases · first in 2026
2 releases in the last 12 months
see the full history below
Release timeline
2 releases · Aug 2026 to Aug 2026Releases
latest 2-
0.2.0-dev.121 Aug 2026 pre-releaseRelease notes
Open source →Prerelease of 0.2.0 — opt in with
anchor_kit: 0.2.0-dev.1. Stable users stay on 0.1.x until 0.2.0 ships.- New middleware:
SizeMiddleware— reports available space on the resolved side (data['size'] = {availableWidth, availableHeight}) so a long menu can cap its height to the viewport and scroll. New "Size" example recipe.AutoPlacement— picks the side with the most room (keeps the current side if it fits, else least overflow); use instead ofFlip.Hide— flagsdata['hide'] = {referenceHidden}when the anchor scrolls off-screen.
Shiftnow clamps only the main axis by default (was both axes), so it no longer detaches the floating element from its anchor. Opt intocrossAxis: true;rtl: truekeeps the right edge for oversized elements.- Note:
SizeMiddlewarecollides withdart:ui'sSize, hence theMiddlewaresuffix.
- New middleware:
-
0.1.020 Aug 2026Release notes
Open source →- New:
FloatingOverlaygainsbarrierDismissible+onDismiss— a transparent tap-outside-to-close barrier for dropdowns / selects / popovers. - Example: rebuilt into a recipe gallery — placement playground, tooltip,
dropdown, select (flips up), and a popover-with-arrow card. Deep-linkable via
?demo=<id>on web. Now runs on web too. - Docs: README overhauled with screenshots, concept explanations (offset/flip/shift/arrow) and a "Known limitations" section.
- Bundles all
0.0.2fixes below.
- New: