diff --git a/lib/flutter_slider_drawer.dart b/lib/flutter_slider_drawer.dart index f8a9686..446bb5c 100644 --- a/lib/flutter_slider_drawer.dart +++ b/lib/flutter_slider_drawer.dart @@ -51,7 +51,6 @@ class SliderMenuContainerState extends State double _slideBarYOffset = 0; bool _isSlideBarOpen = false; AnimationController _animationController; - double _pageScale = 1; Widget drawerIcon; double db = 0; @@ -68,7 +67,6 @@ class SliderMenuContainerState extends State ? widget.sliderMenuOpenOffset : widget.sliderMenuCloseOffset; // _slideBarYOffset = _isSlideBarOpen ? widget.sliderMainOffset : 0; - _pageScale = _isSlideBarOpen ? 0.8 : 1; }); } @@ -77,8 +75,7 @@ class SliderMenuContainerState extends State _animationController.forward(); _slideBarXOffset = widget.sliderMenuOpenOffset; // _slideBarYOffset = widget.sliderMainOffset; - _pageScale = 0.8; - }); + }); } void closeDrawer() { @@ -86,7 +83,6 @@ class SliderMenuContainerState extends State _animationController.reverse(); _slideBarXOffset = widget.sliderMenuCloseOffset; _slideBarYOffset = 0; - _pageScale = 1; }); } diff --git a/pubspec.yaml b/pubspec.yaml index e0f044c..5b30aac 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,5 +1,5 @@ name: flutter_slider_drawer -description: A new Flutter package. +description: A Flutter package with custom implementation of the Sider Drawer Menu version: 1.0.0 homepage: https://github.com/NikhilVadoliya/Flutter_slider_drawer