buildScaffold method

Widget buildScaffold(
  1. BuildContext context, {
  2. PreferredSizeWidget? appBar,
  3. Widget? bottomBar,
  4. Widget? drawer,
  5. required Widget body,
})

Implementation

Widget buildScaffold(BuildContext context, {PreferredSizeWidget? appBar, Widget? bottomBar, Widget? drawer, required Widget body}) {
  return Scaffold(key: UniqueKey(), appBar: appBar, bottomNavigationBar: bottomBar, drawer: drawer, body: body);
}