Releases: soemre/draggable_menu
4.0.1
4.0.1 Release
- Changed
WidgetsBinding.instance.window
withPlatformDispatcher.instance.views.first
.
4.0.0 Release Notes
-
Added
DraggableMenuController
to manage theDraggableMenu
. -
Added
DraggableMenuLevel.ratio
to define theDraggableMenu
'sheight
withratio
. -
Removed the
defaultHeight
parameter of theDraggableMenu
widget. (Provide aDraggableMenuLevel
to thelevels
parameter of theDraggableMenu
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
4.0.0 Release
-
Added
DraggableMenuController
to manage theDraggableMenu
. -
Added
DraggableMenuLevel.ratio
to define theDraggableMenu
'sheight
withratio
. -
Removed the
defaultHeight
parameter of theDraggableMenu
widget. (Provide aDraggableMenuLevel
to thelevels
parameter of theDraggableMenu
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
3.0.2 Release
- Readme videos update
Changes in the 3.0.0 Release
-
Removed the
minHeight
,maxHeight
,expandedHeight
, andexpandable
parameters. -
Added a new feature to customize the Draggable Menu's levels.
-
Added new parameters to use the
DraggableMenu
's main features.defaultHeight
,allowToShrink
andlevels
are the new parameters. Check the readme file to understand them better and theExample App
'sStatus Menu
to see how the new parameters affect theDraggableMenu
. -
Fixed an Animation issue
-
Changed a lot in the
DraggableMenu
'sstatus handling algorithm
. I recommend you to check them on theExample App
'sStatus Menu
. -
Provided the
levelValue
andlevel
values to theDraggableMenu
's listeners. -
Provided the
raw
value in theCustomDraggableMenu
'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
3.0.1 Release
- Readme update
Changes in the 3.0.0 Release
-
Removed the
minHeight
,maxHeight
,expandedHeight
, andexpandable
parameters. -
Added a new feature to customize the Draggable Menu's levels.
-
Added new parameters to use the
DraggableMenu
's main features.defaultHeight
,allowToShrink
andlevels
are the new parameters. Check the readme file to understand them better and theExample App
'sStatus Menu
to see how the new parameters affect theDraggableMenu
. -
Fixed an Animation issue
-
Changed a lot in the
DraggableMenu
'sstatus handling algorithm
. I recommend you to check them on theExample App
'sStatus Menu
. -
Provided the
levelValue
andlevel
values to theDraggableMenu
's listeners. -
Provided the
raw
value in theCustomDraggableMenu
'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
3.0.0 Release
-
Removed the
minHeight
,maxHeight
,expandedHeight
, andexpandable
parameters. -
Added a new feature to customize the Draggable Menu's levels.
-
Added new parameters to use the
DraggableMenu
's main features.defaultHeight
,allowToShrink
andlevels
are the new parameters. Check the readme file to understand them better and theExample App
'sStatus Menu
to see how the new parameters affect theDraggableMenu
. -
Fixed an Animation issue
-
Changed a lot in the
DraggableMenu
'sstatus handling algorithm
. I recommend you to check them on theExample App
'sStatus Menu
. -
Provided the
levelValue
andlevel
values to theDraggableMenu
's listeners. -
Provided the
raw
value in theCustomDraggableMenu
'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
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
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
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
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
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 theCreate your custom UI
section in the readme file. -
Using scrollables are now easier. Check the
Using Scrollables
section under theBreaking 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 theuiType
parameter of theDraggableMenu
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
andaccentColor
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 theClassicDraggable
with the parameters you want it to be to theui
parameter of theDraggableMenu
widget.
Child Parameter of the DraggableMenu
widget
- Now the
child
parameter is required for theDraggableMenu
widget.
Using Scrollables
- When using scrollables, don't give them a
scrollController
directly. If you want to use, ascrollController
to control the scrollable give it to theScrollManager
instead.