adaptive_actions 0.2.2 copy "adaptive_actions: ^0.2.2" to clipboard
adaptive_actions: ^0.2.2 copied to clipboard

Adaptive action placement with Material and Cupertino renderers for Flutter.

Changelog #

0.2.2 #

  • Deferred Cupertino menu action callbacks to at least the next frame so they can safely replace their host widget tree.
  • Added invokeAfterMenuClosed to optionally wait for the root Cupertino menu to finish closing before invoking the selected action.
  • Added an adaptive menu-to-dialog example and regression coverage for Cupertino and Material host replacement.

0.2.1 #

  • Added per-action Material and Cupertino primary presentations with resolver-aware mixed icon-only and icon-plus-label layouts.

0.2.0 #

Breaking change: AdaptiveAction.children changed from List<AdaptiveAction<T>> to List<AdaptiveMenuEntry<T>>. Callers that read children directly must now handle or filter AdaptiveMenuDivider<T> entries.

  • Added configurable dividers for nested menus and top-level actions across Material and Cupertino.

0.1.2 #

  • Added optional menu subtitles through ActionMetadata.subtitle, with native Cupertino presentation and Material supporting-text styling.
  • Preserved primary action layout while extending nested, composite, disabled, destructive, accessible, and large-text menu behavior.

0.1.1 #

  • Expanded the bilingual README feature overview and visual gallery with focused demos for adaptive layout, nested overflow menus, custom button builders, and RTL directionality.

0.1.0 #

  • Added a renderer-neutral action tree, placement constraints, deterministic layout resolution, and independent primary and overflow ordering.
  • Added adaptive Material and Cupertino renderers with anchored, hierarchical menus, composite actions, customizable presentation, animated Material menu transitions, and animated layout changes.
  • Added platform-specific .moreAction constructors while keeping generic overflow icons explicit and their tooltip defaults semantically distinct.
  • Added custom resolver and renderer extension points backed by immutable layout request and result contracts.
  • Added a six-platform example, bilingual documentation, architecture boundary tests, and release CI.
1
likes
160
points
0
downloads
screenshot

Documentation

API reference

Publisher

verified publisherfriesi23.icu

Weekly Downloads

Adaptive action placement with Material and Cupertino renderers for Flutter.

Repository (GitHub)
View/report issues

Topics

#flutter #adaptive-ui #material-design #cupertino #responsive-ui

License

MIT (license)

Dependencies

collection, cupertino_icons, flutter, meta

More

Packages that depend on adaptive_actions