selectDrawer method
Implementation
void selectDrawer(GestureTapCallback onTap) async {
final position = await Future<int>.value(onTapFunctions.indexOf(onTap));
_currentDrawerSelection = position;
notifyListeners();
onTap();
}
void selectDrawer(GestureTapCallback onTap) async {
final position = await Future<int>.value(onTapFunctions.indexOf(onTap));
_currentDrawerSelection = position;
notifyListeners();
onTap();
}