desktopView method
Implementation
Stack desktopView(BoxConstraints constraints) {
return Stack(
children: [
Column(
// mainAxisAlignment: MainAxisAlignment.start,
crossAxisAlignment: CrossAxisAlignment.stretch,
children: [
if (_menuIsShown && !_touchMode) _desktopMenuBar(),
if (_menuIsShown && _touchMode) _menuTouchBar(),
Row(
children: [
if (_drawerOpen && _drawerEnabled) _buildDrawer(),
_masterPane(),
if (widget.detailPane != null)
Row(
children: [
_buildResizeBar(constraints),
_detailPane(),
],
),
],
),
],
),
if (widget.detailPane != null && _touchMode == true)
_resizeBarIcon(constraints),
_listenForAppClick(),
if (_menuIsShown && _menuIsOpen) _buildMenuOpen(),
if (_drawerEnabled &&
!_drawerOpen &&
widget.drawer.edgeDragOpenWidth > 0)
_edgeDragOpen(),
if (_showContext && _currentContextMenu != null) _showContextMenu(),
if (_showShortcutOverlay && _shortcutLabel != null) _shortcutOverlay(),
],
);
}