hasNavRail property
bool
hasNavRail
Whether the app should use a NavigationRail.
Implementation
bool get hasNavRail => isTabletPortrait || isTabletLandscape;
Whether the app should use a NavigationRail.
bool get hasNavRail => isTabletPortrait || isTabletLandscape;