Skip to content

Commit

Permalink
Merge pull request #63 from rasitayaz/dev
Browse files Browse the repository at this point in the history
3.2.2
  • Loading branch information
rasitayaz authored Sep 4, 2024
2 parents 0b11d98 + f1fd550 commit 9c4b628
Show file tree
Hide file tree
Showing 6 changed files with 247 additions and 227 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
## 3.2.2

* Fixed exceptions thrown from bouncing widget. [#57](https://github.com/rasitayaz/flutter-pie-menu/issues/57)
* Fixed inconsistency in menu child positioning when the scroll position changes while the menu is open.

## 3.2.1

* Fixed some stateful widgets are trying to set their state after being disposed.
Expand Down
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,10 @@ A Flutter package providing a highly customizable circular/radial context menu,
- [Customization](#customization)
- [Button themes](#button-themes)
- [Custom button widgets](#custom-button-widgets)
- [Adjust display angle of menu buttons](#adjust-display-angle-of-menu-buttons)
- [Place the menu at a specific position](#place-the-menu-at-a-specific-position)
- [Display angle of menu buttons](#display-angle-of-menu-buttons)
- [Specific menu position](#specific-menu-position)
- [Tap, long press or right click to open the menu](#tap-long-press-or-right-click-to-open-the-menu)
- [Controllers and callbacks](#controllers-and-callbacks)
- [Controllers and callbacks](#controllers-and-callbacks)
- [Contributing](#contributing)
- [Donation](#donation)

Expand Down Expand Up @@ -141,7 +141,7 @@ PieAction.builder(
),
```

### Adjust display angle of menu buttons
### Display angle of menu buttons

If you don't want the dynamic angle calculation and have the menu appear at a fixed angle, set `customAngle` and `customAngleAnchor` attributes of `PieTheme`.

Expand All @@ -154,7 +154,7 @@ PieTheme(

You can also use `customAngleDiff` or `spacing` to adjust the angle between buttons, and `angleOffset` to rotate the menu.

### Place the menu at a specific position
### Specific menu position

Use `menuAlignment` attribute of `PieTheme` to make the menu appear at a specific position regardless of the pressed point. Combine it with `menuDisplacement` to fine-tune the position.

Expand Down Expand Up @@ -184,7 +184,7 @@ PieTheme(
),
```

### Controllers and callbacks
## Controllers and callbacks

To open, close or toggle a menu programmatically, assign a `PieMenuController` to it.

Expand Down
2 changes: 1 addition & 1 deletion example/ios/Runner/AppDelegate.swift
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import UIKit
import Flutter

@UIApplicationMain
@main
@objc class AppDelegate: FlutterAppDelegate {
override func application(
_ application: UIApplication,
Expand Down
Loading

0 comments on commit 9c4b628

Please sign in to comment.