buildBody method
Implementation
Widget? buildBody(BuildContext context, Drawer? drawer, bool largeScreen) {
var content = buildContent(context);
if (largeScreen && drawer != null && _showDrawer) {
return Row(
crossAxisAlignment: CrossAxisAlignment.stretch,
verticalDirection: VerticalDirection.up,
children: [
drawer,
Container(color: themeData.dividerColor, width: 1),
content.expanded(),
],
);
} else {
return content;
}
}