DrawerCallback typedef Null safety

DrawerCallback = void Function(bool isOpened)

Signature for the callback that's called when a DrawerController is opened or closed.

Implementation

typedef DrawerCallback = void Function(bool isOpened);