openLeftDrawer function

void openLeftDrawer({
  1. required GlobalKey<ScaffoldState> scaffoldKey,
})

Open drawer from left

Implementation

void openLeftDrawer({required GlobalKey<ScaffoldState> scaffoldKey}) {
  scaffoldKey.currentState!.openDrawer();
}