MenuButton constructor

const MenuButton({
  1. Key? key,
  2. required GlobalKey<ScaffoldState> scaffoldKey,
})

Implementation

const MenuButton({
  Key? key,
  required GlobalKey<ScaffoldState> scaffoldKey,
})   : _scaffoldKey = scaffoldKey,
      super(key: key);