From 3a06dc8c5137a83990cafe7ccabc1721623eb694 Mon Sep 17 00:00:00 2001 From: Peyman Date: Sun, 12 Jan 2020 22:34:25 +0330 Subject: [PATCH] add a getter for InnerDrawer status --- lib/inner_drawer.dart | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/inner_drawer.dart b/lib/inner_drawer.dart index 84de532..6a168f0 100644 --- a/lib/inner_drawer.dart +++ b/lib/inner_drawer.dart @@ -368,6 +368,10 @@ class InnerDrawerState extends State else _controller.fling(velocity: -1); } + + /// Check status of InnerDrawer + bool get opened => _previouslyOpened; + final GlobalKey _gestureDetectorKey = GlobalKey();