Coder Social home page Coder Social logo

Comments (9)

foxsofter avatar foxsofter commented on May 28, 2024

需要支持 Navigator 2.0 的什么东西,可否描述的更详细点 ~

from flutter_thrio.

lzhAndroid avatar lzhAndroid commented on May 28, 2024

你可以看一下CupertinoPage,Page这一套东西.如果Module能兼容page的话,可能长远看,移植会更方便些

from flutter_thrio.

foxsofter avatar foxsofter commented on May 28, 2024

你想说声明式路由?

from flutter_thrio.

lzhAndroid avatar lzhAndroid commented on May 28, 2024

恩,我们现在框架写的是声明式路由.如果能支持申明式路由肯定最好,不行的话,我觉得Moudlue可以增加类似ModluePage这样的结构,直接我传个Page进来,直接使用Page里面的name,还有它定义的转场动画,也能方便移植.不过ModluePage这种也可以自己去写.

from flutter_thrio.

foxsofter avatar foxsofter commented on May 28, 2024

集中将所有页面放到 pages 这种就不是太合理了

from flutter_thrio.

lzhAndroid avatar lzhAndroid commented on May 28, 2024

我看叶子节点的Module,不是就是一个Page对应一个Module么?还是我理解错了,可以多个Page在一个Module里面配置?

from flutter_thrio.

foxsofter avatar foxsofter commented on May 28, 2024

我说的是 Navigator 2.0

from flutter_thrio.

lzhAndroid avatar lzhAndroid commented on May 28, 2024

其实还好,你把pages当配置文件来看的话,这种设计其实没有什么问题.所有的配置集中管理,灵活性会更高一些,而且资源占用相对也还好

from flutter_thrio.

foxsofter avatar foxsofter commented on May 28, 2024

Navigator 2.0 并没有什么需要适配的,暂时不动了

from flutter_thrio.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.