MacosNavigation constructor
Implementation
MacosNavigation({super.key, required this.groupDestinations})
: assert(
groupDestinations
.expand((group) => group.destinations)
.where(
(destination) => destination.showOnDrawerSidebar == true)
.length >=
2,
'There must be at least 2 AdaptiveDestinations with showOnDrawerSidebar = true',
);