Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Flutterのあれこれ
Search
Shun
February 20, 2024
0
1.6k
Flutterのあれこれ
Flutterの歴史やできることをまとめてみました。
Shun
February 20, 2024
Tweet
Share
More Decks by Shun
See All by Shun
個人開発LT祭 2024年秋 (#とらラボLT)
shunsat0
0
7
個人開発をはじめて1年が経った
shunsat0
0
30
でじたるめいしはじさくしよう
shunsat0
0
1.6k
Featured
See All Featured
A Modern Web Designer's Workflow
chriscoyier
693
190k
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
33
1.9k
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
45
2.2k
Building Applications with DynamoDB
mza
91
6.1k
Adopting Sorbet at Scale
ufuk
73
9.1k
Practical Tips for Bootstrapping Information Extraction Pipelines
honnibal
PRO
10
810
Building a Modern Day E-commerce SEO Strategy
aleyda
38
7k
Done Done
chrislema
181
16k
Become a Pro
speakerdeck
PRO
26
5k
Side Projects
sachag
452
42k
GraphQLとの向き合い方2022年版
quramy
44
13k
Being A Developer After 40
akosma
87
590k
Transcript
Flutterͷ͋Ε͜Ε ࠤ౻ॣ 2023-10-13
What is Flutter?
• Google͕։ൃͨ͠ϑϦʔͰΦʔϓϯιʔεͷSDK • ΫϩεϓϥοτϑΥʔϜΞϓϦͷ։ൃ͕Ͱ͖Δ (Android / iOS / Web /
Windows / macOS / Linux/visionOS?) • FlutterΞϓϦDartݴޠͰɺFlutterͷΤϯδϯC++Ͱॻ͔Ε͍ͯΔ • GitHubͷStarϥϯΩϯά19Ґ(10/13ݱࡏ) • Έʹ߹ͬͨIDE͕͑Δ (VSCode, Android Studio,Intellij) https://ja.wikipedia.org/wiki/Flutter# https://github.com/EvanLi/Github- Ranking/blob/master/Top100/Top-100- stars.md
ඒ༰ࣨɹ༧ΞϓϦ ҩྍؔͷϚονϯά εϚʔτՈి ϚΠΧʔཧ Ϛοϓ
https://docs. f lutter.dev/dash Who is Dash?
History
initial commit (2015) https://github.com/ f lutter/ f lutter/tree/7b0bbdbe66067295c4503eebde53b2ebf82e1764
Before Flutter Part1 ʲSkyʳ FlutterͷલɻChromeͰಈ͘ߴϨϯμϦϯάΤϯδϯͷരɻ ʲRazorʳ ҎԼΛͬͯύϑΥʔϚϯε্ɻ(HTMLύʔε:19x,ελΠϧ࠶ܭࢉ3.7x͘ͳͬͨ) ɾཁૉݻ༗ͷղੳͱdocument.writeϝιουͷ ɾCSSηϨΫλ ɾ͍ॲཧʢϑϩʔτɺςʔϒϧɺϚϧνΧϥϜɺॎॻ͖Ϟʔυʣ
ʲWebΧελϚʔͱͷରʳ ɾεϨουԽ͞ΕͨhtmlύʔαʔʹJSจࣈྻΛ௨͢ํ๏ͳ͍ ɾBlinkεέδϡʔϦϯά ɾ࠷খݶͷ࠶ඳը ʲBravoʳ ɾURL͔ΒJavaScriptίʔυΛϑΣονͯ͠ɺHTMLΛհͣ͞ʹDOMΛղऍ͠ɺOpenGLͷAPIΛୟ͘ͱ͍͏ϨΠΞτϞσϧͷݕ౼ GoogleChrome/Chromiumʹ༻͢ΔϒϥβΤϯδϯΛɺWebKit͔ΒϑΥʔΫ͞ΕͨBlink(ϨϯμϦϯάΤϯδϯ)ʹมߋ 2013 8݄ 2013-2014 2014 10-11݄ 2014 12݄ https://docs.google.com/presentation/d/ 1Yhch7KkNC5wbkcsc9p5XkWouEha2hex65l6Pca_SqkM/edit?usp=sharing
Before Flutter Part2 ʲEften3→Flutterʳ όάͷվम͕ऴΘΓE ff tenͱ͍͏ϓϩδΣΫτ໊͕FlutterʹมΘΔ ʲεέʔϧΞοϓʳ Navigatorͱ͔Widgetͷ֓೦͕ొʂ ʲGood
Bye DOM, Hello CanvasAPIʳ DOMͱ͔Render TreeͰඳը͞Ε͍͚ͨͨͲɺࣗલͰඳըγεςϜΛಋೖ ʲDart Summit,HelloSky!ʳ ʲE ff enϦΞΫςΟϒɾϑϨʔϜϫʔΫ࣮ݧʳ ReactʹӨڹ͞ΕͨΒ͍͠ ʲJavaScript͔Βͷ٫ʳ JavaScriptWebͷΤίγεςϜʹݶΔͷͰɺ͋Δݴޠͷத͔ΒDartΛબ ʲSky Frameworkʳ 2015 4݄ 2015 5݄ 2015 6݄ 2015 ?݄ 2015 3݄ 2015 2݄ 2014 12݄
Code
None
None
Swift UI Flutter
Web
None
• Firebase Hosting,Cloud f lare Pages,GitHub PagesͳͲʹ؆୯ʹHosting͕Ͱ͖Δ👍 • CanvasͰͷϨϯμϦϯά͕͍👎 •
JSͷϥΠϒϥϦ༻Ͱ͖Δ👍 • SEOରࡦ͕Γʹ͍͘🤔 • WebAssemblyʹΑͯύϑΥʔϚϯεվળʹظ💙 • Web EmbeddedʹΑͬͯElementͷҰͭͱͯ͠ΈࠐΊΔ👍 https://zenn.dev/bs_kansai/articles/e5d7ad28baab59 https://zenn.dev/heyhey1028/articles/abd818ca760e33 pros & cons
https://gallery. f lutter.dev/ https://gallery. f lutter.dev/
Game
https://github.com/renancaraujo/trex- f lame https://github.com/ f lutter/codelabs
Flame • FlutterͷήʔϜΤϯδϯϞδϡʔϧ • γϯϓϧͰߴޮͳήʔϜϧʔϓɺϢʔβʔͷೖྗɺը૾ɺεϓϥΠτγʔτɺΞχ ϝʔγϣϯɺিಥఆɺFCS(Flame Component System)ͱݺΕΔίϯϙʔωϯ τͷΈ •
FlameωοτϫʔΫػೳΛఏڙ͠ͳ͍ͨΊɺNakamaFirebaeͳͲͷͺέʔδΛ ར༻͢Δ͜ͱΛ͓͢͢Ί(ΦϯϥΠϯήʔϜͷ࣮ͳͲʹඞཁ) • Discordʹͯٞ͞Ε͍ͯΔ https://docs. f lame-engine.org/latest/
Comment • ઙ͘͘৮ͬͯΈͯɺFlutterΛʮͪΐͬͱʯ͍ͬͯΕɺ৭ʑͰ͖ΔΜͩͳ͋ͱ ײͨ͡ • f irst commit·Ͱ3ͱ͍͏εϐʔυײ͕͍͢͝(ଞͷϑϨʔϜϫʔΫͷ͜ͱΑ͘ Βͳ͍͕) •
WebGameʹؔͯ͠ɺ͜Ε͔ΒͲΜͲΜΞοϓσʔτ͞Εͯੑೳ্͕͢Δ͜ ͱʹظͰ͖Δ • ৭ʑͰָ͖͍ͯ͠ͷͰFlutterΛษڧ͢ΔϞνϕ্͕͕Δ
Thank you for listening🍵