Skip to content

Releases: rasitayaz/flutter-pie-menu

3.1.1

07 Dec 07:44
70c1b28
Compare
Choose a tag to compare
  • Fixed timers not being disposed properly, causing errors during navigation.
  • Fixed some child bounce animation issues.

3.1.0

06 Dec 21:49
389eaf4
Compare
Choose a tag to compare
  • Improved the child bounce animation by adding a 3D tilt effect to it inspired by Bounce package. Can be disabled by setting childTiltEnabled to false in PieTheme.
  • Added overlayStyle to PieTheme to switch between the old and new overlay styles. PieOverlayStyle.behind (the old style) is used by default because the new one causes render issues in some cases.
  • Other minor improvements and bug fixes.

3.0.0

29 Nov 22:43
e354c41
Compare
Choose a tag to compare
  • When a PieMenu activates, other gestures are now automatically cancelled. You no longer need to use NeverScrollableScrollPhysics to disable scrolling or to deactivate the functionality of your interactive menu child.
  • Overlay is now drawn around the menu child using CustomPaint. This addresses the issue of the menu child losing its state when the menu is activated.
  • Fixed some animation issues and slightly improved performance by implementing a better state management solution.
  • Replaced childBounceDistance with childBounceFactor in PieTheme.
  • Other minor improvements and bug fixes.

2.0.2

24 Aug 09:41
50b0979
Compare
Choose a tag to compare
  • Fixed changelog typos.

2.0.1

24 Aug 09:21
4972a90
Compare
Choose a tag to compare
  • Wrapped canvas with a transparent Material to be able to use it outside Scaffold.

2.0.0

23 Aug 21:08
a2654c5
Compare
Choose a tag to compare

Breaking changes

Inside PieTheme;

  • Changed tooltip type from String to Widget, you can now use custom widgets as tooltips.
  • Renamed tooltipStyle to tooltipTextStyle.
  • Renamed distance to radius.
  • bouncingMenu is renamed to childBounceEnabled, and all the related attributes that starts with menuBounce... are renamed to childBounce... to avoid confusion.

Other;

  • onTap callback inside PieMenu is renamed to onPressed. Also added a new onPressedWithDevice callback that provides PointerDeviceKind, allowing you to distinguish between mouse and touch events.
  • Removed padding from PieAction since it already has a child that can be wrapped with a Padding widget.

New features and enhancements

Inside PieTheme;

  • Added rightClickShowsMenu and leftClickShowsMenu attributes to customize the mouse behavior. #13
  • Added customAngle and customAngleAnchor attributes to set a fixed positioning for the buttons. #34
  • Added tooltipCanvasAlignment to specify a custom alignment for the tooltip in the canvas. #35
  • Added tooltipUseFittedBox to allow the tooltip to be resized to fit the text into a single line.
  • Added pointerDecoration, allowing you to style the widget at the center of the menu.

Other;

  • Hovering over the buttons with mouse highlights them now. Also, cursor changes when the menu or buttons are hovered. #16
  • Improved dynamic menu angle calculation (again).
  • Improved dynamic tooltip positioning.
  • Fixed text style related issues. Menu, canvas and default text styles are now being merged properly.
  • Other performance improvements and bug fixes.

1.3.0

11 Feb 22:12
ed172a0
Compare
Choose a tag to compare
  • Improved menu angle calculation, the menu is now displayed at a better angle when opened from the corners of the screen.
  • Added angleOffset parameter to PieTheme to adjust the menu angle.

1.2.6

31 Dec 12:41
93a05f7
Compare
Choose a tag to compare
  • Fixed some critical gesture issues.

1.2.5

31 Dec 12:26
cd372c2
Compare
Choose a tag to compare
  • Replaced menuBounceDepth with menuBounceDistance in PieTheme and improved default bounce animation.
  • Fixed #28

1.2.4

28 Dec 10:28
83bedf8
Compare
Choose a tag to compare
  • Improved menu bounce animations.
  • Added macOS demo.