alibaba / fish-redux

An assembled flutter application framework.
https://github.com/alibaba/fish-redux
Apache License 2.0
7.33k stars 843 forks source link

求解然后把 Component 变成 Widget #605

Closed xmsz closed 4 years ago

xmsz commented 4 years ago

将把 Component 加到原生的页面进入,请问要如何实现。

zjuwjf commented 4 years ago

可以参考 Page.dart

  @override
  Widget build(BuildContext context) {
    return widget.page.buildComponent(
      _store,
      _store.getState,
      bus: _pageBus,
      enhancer: widget.page.enhancer,
    );
  }