getPageScreenModeLimits method

ScreenModeLimits? getPageScreenModeLimits(
  1. String name
)

Implementation

ScreenModeLimits? getPageScreenModeLimits(String name) {
  RixaPage? page = searchPage(name);
  if (page != null) {
    ScreenModeLimits? screenModeLimits = page.screenModeLimits;
    if (screenModeLimits == null && page.parent != null) {
      screenModeLimits = _searchParentLimits(page.parent!);
    }
    return screenModeLimits ?? defaultLimits;
  }
  return null;
}