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
20
個人開発をはじめて1年が経った
shunsat0
0
46
でじたるめいしはじさくしよう
shunsat0
0
1.6k
Featured
See All Featured
Agile that works and the tools we love
rasmusluckow
329
21k
The Art of Programming - Codeland 2020
erikaheidi
55
13k
The Cost Of JavaScript in 2023
addyosmani
53
8.8k
Building a Modern Day E-commerce SEO Strategy
aleyda
43
7.5k
Practical Orchestrator
shlominoach
190
11k
Fireside Chat
paigeccino
39
3.6k
XXLCSS - How to scale CSS and keep your sanity
sugarenia
248
1.3M
Helping Users Find Their Own Way: Creating Modern Search Experiences
danielanewman
29
2.8k
Fantastic passwords and where to find them - at NoRuKo
philnash
51
3.4k
Six Lessons from altMBA
skipperchong
28
4k
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
34
3.1k
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
507
140k
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🍵