alibaba / alibaba/flutter_boost

能否提供更新路由栈某个页面的能力?

Open
#1,569 0 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

boost 单引擎的情况下,只能绘制最顶层的页面。但是现实业务会有这么一些场景,当前顶层页面 A 做了一些操作的之后,
希望能在底下某个页面 B 得到响应或者是做一些 UI 层面的更新,而不是等到返回到 页面 B 之后再更新页面 B 的样式。比如
电商业务里面, A 页面做了一些筛选,希望 B 页面得到一些反馈结果或者滚动到某个位置,这个时候如果返回页面 B 再滚动,
用户体验上会有比较大的瑕疵。

在 boost 的代码里,这部分是由 flutterView 和 engine 的绑定来控制的。逻辑上感觉只要控制好 detachFromEngine / performAttach 的时机,这个效果是可以实现的。

不知道 boost 官方团队能否对这部分的能力做一些补充?

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reading the FlutterView and engine binding logic in FlutterBoost, focusing on how detachFromEngine and performAttach are coordinated. The requested outcome is the ability for a page lower in the route stack to receive a response or UI update while a top page remains visible; the issue does not name tests or files to verify this.

Written by the indexing model from the issue text.

Assessment

Tech stack
dart, flutter
Domain
mobile
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.