Skip to content
This repository has been archived by the owner on May 3, 2024. It is now read-only.

Releases: soemre/draggable_menu

4.0.1

30 May 11:21
Compare
Choose a tag to compare

4.0.1 Release

  • Changed WidgetsBinding.instance.window with PlatformDispatcher.instance.views.first.

4.0.0 Release Notes

  • Added DraggableMenuController to manage the DraggableMenu.

  • Added DraggableMenuLevel.ratio to define the DraggableMenu's height with ratio.

  • Removed the defaultHeight parameter of the DraggableMenu widget. (Provide a DraggableMenuLevel to the levels parameter of the DraggableMenu widget instead.)

If you are coming from an early version before the 4.0.0 of the draggable_menu, check out the version 3.0.0 changes before using.

4.0.0

30 May 08:55
Compare
Choose a tag to compare

4.0.0 Release

  • Added DraggableMenuController to manage the DraggableMenu.

  • Added DraggableMenuLevel.ratio to define the DraggableMenu's height with ratio.

  • Removed the defaultHeight parameter of the DraggableMenu widget. (Provide a DraggableMenuLevel to the levels parameter of the DraggableMenu widget instead.)

If you are coming from an early version before the 4.0.0 of the draggable_menu, check out the version 3.0.0 changes before using.

3.0.2

23 May 08:43
Compare
Choose a tag to compare

3.0.2 Release

  • Readme videos update

Changes in the 3.0.0 Release

  • Removed the minHeight, maxHeight, expandedHeight, and expandable parameters.

  • Added a new feature to customize the Draggable Menu's levels.

  • Added new parameters to use the DraggableMenu's main features. defaultHeight, allowToShrink and levels are the new parameters. Check the readme file to understand them better and the Example App's Status Menu to see how the new parameters affect the DraggableMenu.

  • Fixed an Animation issue

  • Changed a lot in the DraggableMenu's status handling algorithm. I recommend you to check them on the Example App's Status Menu.

  • Provided the levelValue and level values to the DraggableMenu's listeners.

  • Provided the raw value in the CustomDraggableMenu's buildUi method.

If you are coming from an early version before the 2.0.0 of the draggable_menu, check out the version 2.0.0 changes before using the 3.0.0 version.

3.0.1

23 May 08:08
Compare
Choose a tag to compare

3.0.1 Release

  • Readme update

Changes in the 3.0.0 Release

  • Removed the minHeight, maxHeight, expandedHeight, and expandable parameters.

  • Added a new feature to customize the Draggable Menu's levels.

  • Added new parameters to use the DraggableMenu's main features. defaultHeight, allowToShrink and levels are the new parameters. Check the readme file to understand them better and the Example App's Status Menu to see how the new parameters affect the DraggableMenu.

  • Fixed an Animation issue

  • Changed a lot in the DraggableMenu's status handling algorithm. I recommend you to check them on the Example App's Status Menu.

  • Provided the levelValue and level values to the DraggableMenu's listeners.

  • Provided the raw value in the CustomDraggableMenu's buildUi method.

If you are coming from an early version before the 2.0.0 of the draggable_menu, check out the version 2.0.0 changes before using the 3.0.0 version.

3.0.0

22 May 13:12
Compare
Choose a tag to compare

3.0.0 Release

  • Removed the minHeight, maxHeight, expandedHeight, and expandable parameters.

  • Added a new feature to customize the Draggable Menu's levels.

  • Added new parameters to use the DraggableMenu's main features. defaultHeight, allowToShrink and levels are the new parameters. Check the readme file to understand them better and the Example App's Status Menu to see how the new parameters affect the DraggableMenu.

  • Fixed an Animation issue

  • Changed a lot in the DraggableMenu's status handling algorithm. I recommend you to check them on the Example App's Status Menu.

  • Provided the levelValue and level values to the DraggableMenu's listeners.

  • Provided the raw value in the CustomDraggableMenu's buildUi method.

If you are coming from an early version before the 2.0.0 of the draggable_menu, check out the version 2.0.0 changes before using the 3.0.0 version.

2.0.2

12 May 16:33
Compare
Choose a tag to compare

2.0.2 Release

  • fastDrag issue debug

Changes in 2.0.0 Release

  • Fixed some issues by changing its movement logic
  • Added new status to the Draggable Menu. Now you can detect whether the Menu will do the "expand, minimize and close" gestures.

If you are coming from an early version before the 1.0.0 of the draggable_menu, check out the version 1.0.0 changes before using the 2.0.0 version.

2.0.1

09 May 15:35
Compare
Choose a tag to compare

2.0.1 Release

  • fastDrag issue debug

Changes in 2.0.0 Release

  • Fixed some issues by changing its movement logic
  • Added new status to the Draggable Menu. Now you can detect whether the Menu will do the "expand, minimize and close" gestures.

If you are coming from an early version before the 1.0.0 of the draggable_menu, check out the version 1.0.0 changes before using the 2.0.0 version.

2.0.0

09 May 14:54
Compare
Choose a tag to compare

2.0.0 Release

  • Fixed some issues by changing its movement logic
  • Added new status to the Draggable Menu. Now you can detect whether the Menu will do the "expand, minimize and close" gestures.

If you are coming from an early version before the 1.0.0 of the draggable_menu, check out the version 1.0.0 changes before using the 2.0.0 version.

1.1.0

29 Apr 10:25
Compare
Choose a tag to compare

1.1.0 Release

  • Fixed some issues in pre-build UIs' animations.
  • Added fast-dragging features to minimize and expand the Draggable Menu.

If you are coming from an early version before the 1.0.0 of the draggable_menu, check out the version 1.0.0 changes before using the 1.1.0 version.

v1.0.0

28 Apr 09:57
Compare
Choose a tag to compare

1.0.0 Release

What’s new

  • Now the Draggable Menu is compatible with Dart 3

  • Now you can create your own UIs more easily and better looking by making use of the CustomDraggableMenu class. For more info, take a look at the Create your custom UI section in the readme file.

  • Using scrollables are now easier. Check the Using Scrollables section under the Breaking Changes section if you are coming from an older version.

Breaking changes

UI Type Update

  • The way you choose one of the pre-build UIs changed. The DraggableMenuUiType enum and the uiType parameter of the DraggableMenu widget are removed. And now, if you want to change the UI, you should pass one of the Pre-build UI classes.

  • DraggableMenuUiType.classic = ClassicDraggableMenu
    DraggableMenuUiType.modern = ModernDraggableMenu
    DraggableMenuUiType.softModern = SoftModernDraggableMenu

DraggableMenu(
  ui: SoftModernDraggableMenu();
  child: child,
)
  • And the barItem, radius, color and accentColor parameters of the Default UI were removed as well. Now you can reach them inside of the Pre-Build UI classes' parameters.
DraggableMenu(
  ui: ClassicDraggableMenu(
    barItem: barItem,
    radius: radius,
    color: color,
  );
  child: child,
)
  • If you just want to change the appearance of the Draggable Menu widget and don't want to make a huge change in its UI. Then, just pass the ClassicDraggable with the parameters you want it to be to the ui parameter of the DraggableMenu widget.

Child Parameter of the DraggableMenu widget

  • Now the child parameter is required for the DraggableMenu widget.

Using Scrollables

  • When using scrollables, don't give them a scrollController directly. If you want to use, a scrollController to control the scrollable give it to the ScrollManager instead.