Comments (9)
需要支持 Navigator 2.0 的什么东西,可否描述的更详细点 ~
from flutter_thrio.
你可以看一下CupertinoPage,Page这一套东西.如果Module能兼容page的话,可能长远看,移植会更方便些
from flutter_thrio.
你想说声明式路由?
from flutter_thrio.
恩,我们现在框架写的是声明式路由.如果能支持申明式路由肯定最好,不行的话,我觉得Moudlue可以增加类似ModluePage这样的结构,直接我传个Page进来,直接使用Page里面的name,还有它定义的转场动画,也能方便移植.不过ModluePage这种也可以自己去写.
from flutter_thrio.
集中将所有页面放到 pages 这种就不是太合理了
from flutter_thrio.
我看叶子节点的Module,不是就是一个Page对应一个Module么?还是我理解错了,可以多个Page在一个Module里面配置?
from flutter_thrio.
我说的是 Navigator 2.0
from flutter_thrio.
其实还好,你把pages当配置文件来看的话,这种设计其实没有什么问题.所有的配置集中管理,灵活性会更高一些,而且资源占用相对也还好
from flutter_thrio.
Navigator 2.0 并没有什么需要适配的,暂时不动了
from flutter_thrio.
Related Issues (20)
- [feat] 添加 canPop HOT 1
- [bug] iOS下横屏的问题 HOT 1
- [feat] 支持复杂类型参数传递时不需要序列化和反序列化 HOT 1
- [fix] 适配 flutter_webview_plugin 插件 HOT 2
- flutter页面启动一个native页面,关闭native页面后,无法再次打开,走了这个routeAction != RouteAction.NONE HOT 1
- an incorrect `androidPackage: com.hellobike.flutter.thrio` or `mainClass` entry in the plugin's pubspec.yaml HOT 1
- Android移除两个Flutter之间的原生页面,然后push 某个flutter页面,push失败,且页面无法操作 HOT 3
- iOS 14真机debug模式崩溃 HOT 1
- [feat] Flutter端生成代码框架
- [feat] 增加原生 ModuleContext 共享状态给 Flutter 的 ModuleContext 的接口 HOT 1
- Android上Flutter页面回收重启问题 HOT 2
- [feat] 适配 1.22.6
- [feat] canPop要能兼容原生方式打开的页面作为首页 HOT 1
- [feat] TransitionBuilder 要能兼容所有场景 HOT 1
- [feat] 丰富 ModuleContext 的能力,提供 Stream 接口 HOT 1
- 继承ThrioActivity之后,flutter与android原生之间如何通信? HOT 2
- 1.7.2 版本 从flutter页面跳native页面再跳flutter页面,前一个flutter页面会didChangeDependencies两次,第二次的时候pageview的controller中的offset被清空 HOT 1
- 在ActivityGroup中使用ThrioActivity会崩溃 HOT 1
- 如何在flutter端发送通知,让flutteractivity能打开友盟分享的dialog,想重写onNotify方法是私有的,或者在外部能不能通过ThrioNavigator获得当前的activity实例? HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from flutter_thrio.