Upgrade to Pro — share decks privately, control downloads, hide ads and more …

リッチなポップアップ画面にはshowGeneralDialogが便利だった

 リッチなポップアップ画面にはshowGeneralDialogが便利だった

Masashi-Sutou

May 22, 2019
Tweet

More Decks by Masashi-Sutou

Other Decks in Technology

Transcript

  1. ϦονͳϙοϓΞοϓը໘ʹ͸
    TIPX(FOFSBM%JBMPH͕ศརͩͬͨ
    ୈճ'MVUUFS.FFUVQ5PLZP

    View full-size slide

  2. ελσΟϓϥεגࣜձࣾͰJ04ͱ'MVUUFSͷΞϓϦ։ൃͯ͠·͢
    ਢ౻ক࢙ʢ!LVSPUZBOOʣ

    View full-size slide

  3. w ࠓ೥݄͔Β'MVUUFSͱ'JSFCBTFͰ৽نࣄۀͷΞϓϦΛ։ൃத
    w !LVSPUZBOOʹͯ'MVUUFS։ൃͰݟ͚ͭͨൃݟΛπΠʔτத
    w ݄ʹҰճɺ౔༵೔ʹʮ'MVUUFS΋͘΋ࣗ͘शࣨJOελσΟϓϥεʯ
    Λ։࠵தͰ͢ʂ

    View full-size slide

  4. ϦονͳϙοϓΞοϓը໘ͱ͸

    View full-size slide

  5. ͜Μͳը໘ʂ

    View full-size slide

  6. 0,
    ςΩετςΩ
    ϦονͳϙοϓΞοϓը໘ͷ6*σβΠϯ
    w ը໘αΠζͷ͙Β͍ͷྖҬʹը૾ɺಈըɺς
    ΩετɺϘλϯͳͲෳ਺ͷཁૉΛηϯλϦϯάͰ
    දࣔ͢Δ
    w എܠ͕ബ҉͘ɺը໘ભҠ΍Πϕϯτॲཧͷؒʹࠩ
    ͠ࠐ·ΕΔ
    w ޿ࠂɺ৽ػೳͷࠂ஌ɺίϯςϯπͷऴྃ΍݁Ռͷ
    ը໘ͰΑ͘ݟ͔͚Δ6*
    w J04ͷ৔߹ɺඪ४ͷΞϥʔτ6*ͩͱཁ͕݅ຬͨͤ
    ͳ͍ͷͰࣗ࡞͠ͳ͍ͱ͍͚ͳ͍

    View full-size slide

  7. ωΠςΟϰͩͱ஍ຯʹ࣮૷͕໘౗
    Ͱ΋ɺ'MVUUFSͳΒ

    View full-size slide

  8. TIPX(FOFSBM%JBMPH
    Future showGeneralDialog({
    @required BuildContext context,
    @required RoutePageBuilder pageBuilder,
    bool barrierDismissible,
    String barrierLabel,
    Color barrierColor,
    Duration transitionDuration,
    RouteTransitionsBuilder transitionBuilder,
    }) { // লུ }

    View full-size slide

  9. ͭ·Γɺը໘ͷσβΠϯ͸ࣗ༝Ͱ
    ଞͷ໘౗ͳͱ͜Ζ͸Ҿ਺ʹ
    ೚ҙͷ஋Λ౉͚ͩ͢Ͱ0,

    View full-size slide

  10. IUUQTHJTUHJUIVCDPNNBTBTIJTVUPV
    CBDCDDFB

    View full-size slide

  11. ·ͱΊࢀߟࢿྉ
    w TIPX(FOFSBM%JBMPHΛ࢖͑͹ɺෳࡶͳ෦෼͸'MVUUFS4%,ʹ·͔
    ͤͯɺϙοϓΞοϓը໘ͷσβΠϯʹूதͰ͖·͢
    w IUUQTBQJqVUUFSEFWqVUUFSNBUFSJBMTIPX%JBMPHIUNM
    w IUUQTXXXLJLUUPQQPTUTqVUUFSEJBMPHEJBMPH
    w IUUQTNFEJVNDPNqVUUFSDPNNVOJUZIPXUPBOJNBUF
    EJBMPHTJOqVUUFSIFSFJTBOTXFSFBBG

    View full-size slide