soulmine
V2EX  ›  问与答

flutter 路由跳转

  •  
  •   soulmine · Dec 10, 2018 · 2483 views
    This topic created in 2724 days ago, the information mentioned may be changed or developed.

    大概就是输入名字然后跳转到新页面显示返回的结果,但目前我这还需要进入新页面后通过点击一个 button 去触发这个返回的事件,怎么把这个 button 省掉,可以直接跳转后就返回

    3 replies    2018-12-10 15:41:53 +08:00
    sty
        1
    sty  
       Dec 10, 2018 via Android
    pop
    soulmine
        2
    soulmine  
    OP
       Dec 10, 2018
    @sty
    pop 不是用来进行参数传递的么
    wly19960911
        3
    wly19960911  
       Dec 10, 2018
    不能写在 constructor 里面吗,当获取到参数执行操作。
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   1271 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 47ms · UTC 23:40 · PVG 07:40 · LAX 16:40 · JFK 19:40
    ♥ Do have faith in what you're doing.