SimpleHiddenDrawerController constructor
SimpleHiddenDrawerController(
- int initPosition,
- AnimatedDrawerController _animatedDrawerController
Implementation
SimpleHiddenDrawerController(
int initPosition,
this._animatedDrawerController,
) {
position = initPosition;
_animatedDrawerController.addListener(() {
if (state != _animatedDrawerController.state) {
state = _animatedDrawerController.state;
notifyListeners();
}
});
}