I can successfully change position and swipeToOpen properties of my widget but it doesn't change anything. Position is always left even when I initialize Position property as right. Likely, swipeToOpen is always true even it's property value is false.
I change these values dynamically with the value of a checkbox like below;
This line of code above changes mini properties and it works perfectly.
On the other side, this line of code above changes drawerInstance value properly but I can still use swipe gestures to open the drawer.
Is there are any better ways to change the values of these properties?