NavigationPaneSize constructor

const NavigationPaneSize({
  1. double? topHeight,
  2. double? compactWidth,
  3. double? openWidth,
  4. double? openMinWidth,
  5. double? openMaxWidth,
  6. double? headerHeight,
})

Implementation

const NavigationPaneSize({
  this.topHeight,
  this.compactWidth,
  this.openWidth,
  this.openMinWidth,
  this.openMaxWidth,
  this.headerHeight,
})  : assert(
        openMinWidth == null ||
            openMaxWidth == null ||
            openMinWidth <= openMaxWidth,
        'openMinWidth must be greater than openMaxWidth',
      ),
      assert(
        topHeight == null || topHeight >= 0,
        'topHeight must be greater than 0',
      ),
      assert(
        compactWidth == null || compactWidth >= 0,
        'compactWidth must be greater than 0',
      ),
      assert(
        headerHeight == null || headerHeight >= 0,
        'headerHeight must be greater than 0',
      );