close method Null safety

void close()

Starts an animation to close the drawer.

Implementation

void close() {
  _controller.fling(velocity: -1.0);
  widget.drawerCallback?.call(false);
}