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

Intro to Flutter

Intro to Flutter

モバイルメソッド大阪 第2回 https://classmethod.connpass.com/event/97832/ での発表資料です。
解説はこちら https://kwmt27.net/2018/09/15/intro-to-flutter/

Avatar for Yasutaka Kawamoto

Yasutaka Kawamoto

September 15, 2018
Tweet

More Decks by Yasutaka Kawamoto

Other Decks in Programming

Transcript

  1. • Տຊ ହ޹(͔Θ΋ͱ ΍͔ͨ͢) • ॴଐɿגࣜձࣾ tech vein 
 (େࡕࢢதԝ۠ຊொ)

    • ϞόΠϧΞϓϦΤϯδχΞ • GitHub: kwmt ɺtwitter: kwmt27 • Google I/O2018 ॳࢀՃ 2 ࣗݾ঺հ
  2. 6

  3. 11

  4. 11

  5. ͢΂͕ͯWidgetͰߏ੒͞Ε·͢ Column( children: <Widget>[ Icon(Icons.share, color: color), Container( margin: EdgeInsets.only(top:

    8.0), child: Text( “SHARE”, style: new TextStyle( fontSize: 12.0, color: color, ), ), ) ], ) 15
  6. ͢΂͕ͯWidgetͰߏ੒͞Ε·͢ Column( children: <Widget>[ Icon(Icons.share, color: color), Container( margin: EdgeInsets.only(top:

    8.0), child: Text( “SHARE”, style: new TextStyle( fontSize: 12.0, color: color, ), ), ) ], ) 15
  7. ͢΂͕ͯWidgetͰߏ੒͞Ε·͢ Column( children: <Widget>[ Icon(Icons.share, color: color), Container( margin: EdgeInsets.only(top:

    8.0), child: Text( “SHARE”, style: new TextStyle( fontSize: 12.0, color: color, ), ), ) ], ) 15
  8. ͢΂͕ͯWidgetͰߏ੒͞Ε·͢ Column( children: <Widget>[ Icon(Icons.share, color: color), Container( margin: EdgeInsets.only(top:

    8.0), child: Text( “SHARE”, style: new TextStyle( fontSize: 12.0, color: color, ), ), ) ], ) 15
  9. • JavaʹࣅͨΦϒδΣΫτࢦ޲ݴޠ • first-class object • ܕਪ࿦ • async, await

    • Ξϩʔؔ਺ • ৚݅෇͖ϝϯόΞΫηε ?. • ΦϖϨʔλΛOverrideͰ͖Δ • Listૢ࡞(map, where(filter)͕࢖͑Δ)
  10. • Flutter sdkΛzipΛμ΢ϯϩʔυɾղౚ • flutterίϚϯυ΁ͷPathΛ௨ͯ͠ • $ flutter doctor Getting

    started https://github.com/flutter/flutter/issues/14050 • homebrew͸αϙʔτ͞Εͯͳ͍
  11. 23

  12. 24

  13. 33 ·ͱΊ • ΋͠ɺAndroid ͱiOSͰωΟςΟϒฒΈʹαΫαΫಈ͘Ξϓ Ϧ͕1ͭͷιʔείʔυͰॻ͚Δͱͨ͠Βʁ • →ɹNativeʹίϯύΠϧ͞ΕΔͨΊɺαΫαΫಈ͘ίʔυ ͕̍ͭͷιʔείʔυ͔͚ͦ͏Ͱ͢ΑͶ •

    ΋͠ɺϓϩάϥϛϯάݴޠ͕Kotlin΍Swiftͱ͸ҧ͏͚Ͳɺͦ ͍͍ͦ͜͜ײ͡ͷݴޠͩͬͨͱͨ͠Βʁ • →ɹDart͸ͦͦ͜͜ྑͦ͞͏ • ΋͠ɺ։ൃεϐʔυΛ্͛ΕΔͱͨ͠Βʁ • →ɹϗοτϦϩʔυ࠷ߴʂ
  14. 36 υΩϡϝϯτ͕๛෋ Flutter for Web devs Flutter for Android devs

    Flutter for iOS devs Flutter for React Native devs Flutter for Xamarin.Forms devs