alibaba / flutter_boost

FlutterBoost is a Flutter plugin which enables hybrid integration of Flutter for your existing native apps with minimum efforts
https://github.com/alibaba/flutter_boost
MIT License
7k stars 1.23k forks source link

PageBuilder泛型问题 #935

Open lengzds opened 3 years ago

lengzds commented 3 years ago

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

nightfallsad commented 3 years ago

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

这个应该要加的😁,我确认下