我在我的应用程序中使用了permanent_bottom_nav_bar 库。当我使用导航器显示新屏幕时,会显示错误。
InkWell(
onTap: () {
Navigator.of(context).popUntil(ModalRoute.withName("previousjob"));
Navigator.of(context).pushAndRemoveUntil(
CupertinoPageRoute(
builder: (BuildContext context) {
return SettingMenu();
},
),
(_) => true,
);
},
Run Code Online (Sandbox Code Playgroud) flutter ×1