star_menu 3.1.2 copy "star_menu: ^3.1.2" to clipboard
star_menu: ^3.1.2 copied to clipboard

Contextual popup menu with different shapes and multiple ways to fine-tune animation and position. The menu entries can be almost any kind of widgets.

[3.1.2] - 23 Dec 2022 #

  • breaking: due to the [lazyItems] added to the [addStarMenu] extension, all the parameters to that mixin are now optional ex:
.addStarMenu(
  items: upperMenuItems,
  ...

[3.1.1] - 12 Dec 2022 #

  • added [lazyItems] and [onStateChanged] parameters to [addStarMenu] extension

[3.1.0+1] - 26 Oct 2022 #

  • it's now possible to open a menu programmatically with [StarMenuController].
  • it's now possible to open a menu programmatically by passing [parentContext] to [StarMenu].
  • added [useTouchAsCenter] to [StarMenuParameters] to use the touch position as the menu center.

[3.0.0+2] - 23 Sep 2022 #

  • added a new main.dart example
  • added onHoverScale in StarMenuParameters to scale items when mouse hover (desktop only)
  • added BoundaryBackground to set a background behind all the menu items
  • the opening animation now starts from the first menu item
  • added dropdown, arc and panel menu presets
  • breaking change: [StarMenuParameters.onItemTapped] moved into [StarMenu] widget

[2.2.0] - 23 Jul 2022 #

  • added [useLongpress] and [longPressDuration] to open the menu with a long press

[2.1.3] - 13 Mar 2022 #

  • code formatted

[2.1.2] - 12 Mar 2022 #

  • fixed wrong menu position when using RTL

[2.1.1] - 10 Nov 2021 #

  • added onStateChanged callback which triggers closed, closing, opening, open states

[2.1.0] - 29 Oct 2021 #

  • added a movement threshold for touches: if a movement of more the 10 px occurs after touching the widget, it will not open
  • bug fix when changing device rotation
  • added lazyItems property which builds menu items at runtime

[2.0.1] - 22 Aug 2021 #

  • support for hot reload

[2.0.0+3] - 10 Aug 2021 #

  • removed dart:io dependency for web compatibility
  • bug fix in web version when animating the blur

[2.0.0+2] - 10 Aug 2021 #

  • added some documentation

[2.0.0+1] - 10 Aug 2021 #

  • breaking change: code rewritten to remove the 'keys boilerplate' (see the doc) and performances issue

[1.0.4] - 12 Jun 2019 #

  • blurring background while opening

[1.0.2] - 31 Mar 2019 #

  • fixed some naming conventions and formats for pub

[1.0.0] - 31 Mar 2019 #

  • initial release.
188
likes
0
pub points
93%
popularity

Publisher

verified publishermarcobavagnoli.com

Contextual popup menu with different shapes and multiple ways to fine-tune animation and position. The menu entries can be almost any kind of widgets.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter, vector_math

More

Packages that depend on star_menu