toggle method

void toggle()

Implementation

void toggle() => phloxDrawerState == PhloxDrawerState.opened
    ? closeAnimation()
    : startAnimation();