alibaba / alibaba/flutter_boost

[Bug]: The pushed route has already been used. When pushing a route, a new Route object must be provided.

Open
#1,926 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
Dart
Stars
7.2k
Forks
1.3k
PR merge metrics
No merged PRs in 30d

Description

### 请描述遇到的问题,以及您所期望的正确的结果

flutter_boost 在flutter页面内使用flutter_boost push 进入下一个页面, 开发阶段使用热重载,报错

全部错误:
The pushed route has already been used. When pushing a route, a new Route object must be provided.
'package:flutter/src/widgets/navigator.dart':
Failed assertion: line 2910 pos 7: 'route._navigator == null'

### 请说明如何操作会遇到上述问题

_No response_

### 在下面填入关键复现代码

```
```

### 复现的平台

Both

### Flutter SDK版本

3.13.9

### FlutterBoost版本

4.4.0

### 是否延迟初始化FlutterBoost

No

### 解决方案

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the flutter_boost push flow during hot reload with Flutter SDK 3.13.9 and FlutterBoost 4.4.0, on both platforms. Investigate the Navigator assertion about a reused Route object; done means pushing the next Flutter page no longer triggers that assertion after hot reload.

Written by the indexing model from the issue text.

Assessment

Tech stack
dart, flutter
Domain
mobile
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.