setGlobalKeys method

void setGlobalKeys(
  1. GlobalKey<State<StatefulWidget>> appBar,
  2. GlobalKey<State<StatefulWidget>> themeButton,
  3. GlobalKey<State<StatefulWidget>> dropDown,
  4. GlobalKey<State<StatefulWidget>> orientation,
  5. GlobalKey<State<StatefulWidget>> screen,
)

Implementation

void setGlobalKeys(
    GlobalKey appBar, GlobalKey themeButton,
    GlobalKey dropDown, GlobalKey orientation,
    GlobalKey screen
    ) {
  appBarTitleKey = appBar;
  appBarActionThemeKey = themeButton;
  appBarDropDownKey = dropDown;
  orientationButtonKey = orientation;
  screenKey = screen;
}