SolidNavigationConfig constructor

const SolidNavigationConfig({
  1. double narrowScreenThreshold = NavigationConstants.narrowScreenThreshold,
  2. bool autoSwitch = true,
  3. bool forceWideScreen = false,
  4. bool forceNarrowScreen = false,
})

Implementation

const SolidNavigationConfig({
  this.narrowScreenThreshold = NavigationConstants.narrowScreenThreshold,
  this.autoSwitch = true,
  this.forceWideScreen = false,
  this.forceNarrowScreen = false,
}) : assert(!(forceWideScreen && forceNarrowScreen),
          'Cannot force both wide and narrow screen layouts');