File tree Expand file tree Collapse file tree 4 files changed +12
-9
lines changed Expand file tree Collapse file tree 4 files changed +12
-9
lines changed Original file line number Diff line number Diff line change 1- ## [ 0.2.7] - 2019-06-14.
1+ ## [ 0.2.8] - 2019-06-14.
2+
3+ * fix history.
4+
5+ ## [ 0.2.8] - 2019-06-14.
26
37* Cleaning code.
48* Update Readme.
Original file line number Diff line number Diff line change 11# flutter_inner_drawer
2- [ ![ pub package] ( https://img.shields.io/badge/pub-0.2.7 -orange.svg )] ( https://pub.dartlang.org/packages/flutter_inner_drawer )
2+ [ ![ pub package] ( https://img.shields.io/badge/pub-0.2.8 -orange.svg )] ( https://pub.dartlang.org/packages/flutter_inner_drawer )
33[ ![ Awesome Flutter] ( https://img.shields.io/badge/Awesome-Flutter-blue.svg?longCache=true&style=flat-square )] ( https://github.com/Solido/awesome-flutter#drawers )
44[ ![ Donate] ( https://img.shields.io/badge/Donate-PayPal-green.svg )] ( https://www.paypal.me/dnag88 )
55
@@ -10,7 +10,7 @@ Inner Drawer is an easy way to create an internal side section (left/right) wher
1010Add this to your package's pubspec.yaml file:
1111``` dart
1212dependencies:
13- flutter_inner_drawer: "^0.2.7 "
13+ flutter_inner_drawer: "^0.2.8 "
1414```
1515## Demo
1616<div align =" center " >
Original file line number Diff line number Diff line change @@ -161,8 +161,6 @@ class InnerDrawerState extends State<InnerDrawer> with SingleTickerProviderState
161161 case AnimationStatus .reverse:
162162 break ;
163163 case AnimationStatus .forward:
164- _historyEntry? .remove ();
165- _historyEntry = null ;
166164 break ;
167165 case AnimationStatus .dismissed:
168166 if (_previouslyOpened != opened && widget.innerDrawerCallback != null ){
@@ -176,7 +174,8 @@ class InnerDrawerState extends State<InnerDrawer> with SingleTickerProviderState
176174 _previouslyOpened = opened;
177175 widget.innerDrawerCallback (opened);
178176 }
179- break ;
177+ _historyEntry? .remove ();
178+ _historyEntry = null ;
180179 }
181180 }
182181
@@ -194,7 +193,7 @@ class InnerDrawerState extends State<InnerDrawer> with SingleTickerProviderState
194193 void _handleDragDown (DragDownDetails details)
195194 {
196195 _controller.stop ();
197- _ensureHistoryEntry ();
196+ // _ensureHistoryEntry();
198197 }
199198
200199
@@ -402,7 +401,7 @@ class InnerDrawerState extends State<InnerDrawer> with SingleTickerProviderState
402401 Widget build (BuildContext context)
403402 {
404403 //assert(debugCheckHasMaterialLocalizations(context));
405-
404+
406405 // initialize the correct width
407406 if (_initWidth == 400 || MediaQuery .of (context).orientation != _orientation){
408407 _updateWidth ();
Original file line number Diff line number Diff line change 11name : flutter_inner_drawer
22description : Inner Drawer is an easy way to create an internal side section (left/right) where you can insert a list menu or other.
3- version : 0.2.7
3+ version : 0.2.8
44author :
Antonino Di Natale <[email protected] > 55homepage : https://github.com/Dn-a/flutter_inner_drawer
66
You can’t perform that action at this time.
0 commit comments