flutter_boost
flutter_boost copied to clipboard
不能通过 getPageInfoByContext 获取当前的页面信息
var topPageInfo = BoostNavigator.instance.getTopPageInfo();
var getPageInfo = BoostNavigator.instance.getPageInfoByContext(myContext!);
'topPageInfo = ${topPageInfo?.pageName}, getPageInfo = ${getPageInfo?.pageName}'.printLog(Level.error);
/// topPageInfo = /flutter/retrievePasswordPage, getPageInfo = /flutter/loginPage
在栈顶页面通过context获取页面信息 获取的是 initialRoute 的信息内容
问题版本 'v3.0-null-safety-release.1'