MainMenu constructor Null safety

const MainMenu(
  1. MainScreen main,
  2. ScreenPositioner screen,
  3. {Key? key}
)

Implementation

const MainMenu(this.main, this.screen, {Key? key}) : super(key: key);