scaffold method
Implementation
Widget scaffold({
required BuildContext context,
required Widget body,
Widget? floatingActionButton,
List<Widget>? actions,
Widget? drawer,
bool showAppBar = true,
}) {
return Scaffold(
appBar: showAppBar
? AppBar(
title: Text(title),
actions: actions,
elevation: 0,
)
: null,
drawer: drawer,
body: body,
floatingActionButton: floatingActionButton,
);
}