soulmine
V2EX  ›  问与答

flutter 路由跳转

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

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

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