stackLocal property
判断页面当前处于栈内位置 如果不存在则为-1
Implementation
int get stackLocal {
final stack = RouteKit.instance.stack;
return stack.indexWhere((page) => page.key == _key);
}
判断页面当前处于栈内位置 如果不存在则为-1
int get stackLocal {
final stack = RouteKit.instance.stack;
return stack.indexWhere((page) => page.key == _key);
}