alibaba / alibaba/flutter_boost

PageBuilder泛型问题

Open
#935 1 comment 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

之前1.17.5分支上PageBuilder有泛型,
typedef PageBuilder = Widget Function(
String pageName, Map params, String uniqueId);
但是在1.22分支上又没有了,你们之后是怎么弄?加泛型还是之后不加了?不然现在注册的页面越来越多,改一遍很麻烦
typedef Widget PageBuilder(String pageName, Map params, String uniqueId);

Contributor guide

No contributing guide indexed for this repository

Research direction

Start at the PageBuilder typedef and page-registration entry points in the 1.17.5 and 1.22 branches, then compare their generic and non-generic signatures. The issue needs a decided compatibility direction before implementation; done would mean the selected API behavior is documented and covered by the relevant existing tests.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.