canPop abstract method

bool canPop({
  1. bool ignoreChildRoutes = false,
  2. bool ignoreParentRoutes = false,
  3. bool ignorePagelessRoutes = false,
})

Whether this controller can preform maybePop

if ignoreChildRoutes is true it will only check whether this controller has multiple entire and not care about pop-able child controllers

if ignoreParentRoutes is true it will only check whether this controller has multiple entire and not care about pop-able parent controllers

if ignorePagelessRoutes is true page-lss routes will not be considered in the calculation

Implementation

bool canPop({
  bool ignoreChildRoutes = false,
  bool ignoreParentRoutes = false,
  bool ignorePagelessRoutes = false,
});