- Remove the use of
dart:io
to be able to support web - Migrate from
WillPopScope
toPopScope
- Added ability to change mainMenu slide height and removed angle limitation (#132)
- docs: Improved ReadMe file
- Fix for #125
- Fix for #122
- Refactor the package structure
- Fix for #120
- Updated the
close/open/toggle
callbacks to return TickerFuture? - workaround for #119
- Fix #96
Thanks to @YDA93 for his contribution
Breaking changes
- Due to new futures added some styles were removed in favor of
moveMenuScreen
feature, please refer to README - Replaced
backgroundColor
withdrawerShadowsBackgroundColor
- Replaced
swipeOffset
withdragOffset
What's new?
- ZoomDrawer is now responsive to dragging
- Added
moveMenuScreen
to slidemenuScreen
along withmainScreen
- Added
menuScreenWidth
- Added
menuBackgroundColor
- Added
reverseDuration
- Added
mainScreenOverlayColor
andmenuScreenOverlayColor
to control overlay color while closing and opening - Added
mainScreenAbsorbPointer
to prevent mainScreen tap events while drawer is open - Added
menuScreenTapClose
to close drawer from menuScreen tap - Added
openDragSensitivity
andcloseDragSensitivity
to control drawer sensitivity in response to dragging - Added
androidCloseOnBackTap
to close drawer on android back tap - Added extensions to access drawer, drawerState, and drawerState notifier
Fixes:
- Fix
mainScreen
bug resulted in opening drawer instead of closing - Fix
mainScreenTapClose
is being ignored on app start or Hot restarts - Fix discrepancy between RTL and LTR styles
- Fix drawerState notifier wasn't disposed
- Code improvements and followed lint package rules
- Fix
mainScreen
state rebuild
- Fix
mainScreen
state destruction
- Added
overlayBlur
,shrinkMainScreen
anddrawerStyleBuilder
- Fixed
angle
to rotate all styles, not just Style1
- Fixed
Style1
state
- Fixed
Style1
border radius
- Added
shadowLayer1Color
&shadowLayer2Color
- Fixed
Style8
RTL support
Thanks to @Skquark for his contribution
- Added
overlayColor
,overlayBlend
,mainScreenTapClose
andboxShadow
- Restructured mainScreen effects stack, cleaned up bugs, added Style8 from a fork
- fixed swipe to close issue
- add
swipeOffset
to customize swipe length for triggering drawer close
- fixed
Style6
&Style7
issues
- Removed
isRtl
method to fixed Locale warning
- Fixed Locale warning
- added possibility to disable main screen clipping
- Fixed Locale warning
- Updated null assertion
- Add Persian to RTL support list
- Fixed
window.locale
null safety bug
- Fixed RTL support in styles
- Migrated to Null Safety
- Added a parameter to disable the swipe gesture (
disableGesture
)
- Added multiple drawer styles thanks to @dangtienngoc
- Fixed animation controller dispose issue
- Added
ValueNotifier<DrawerState>
to get updates on the Drawer current state
- Added the ability to customize the open and close
curve
of the drawer
- Added
isOpen
method to determine the status of the drawer
- Fixed RTL rotation bug
- Added Sliding with shadow.
- Updated example app with RTL support
- Fixed bugs.
- Stable package release.
- Initial package release.