SolidNavigationConfig constructor
const
SolidNavigationConfig({ - double narrowScreenThreshold = NavigationConstants.narrowScreenThreshold,
- bool autoSwitch = true,
- bool forceWideScreen = false,
- 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');