Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
Flutter GMTC
Search
xster
June 21, 2018
Technology
130
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Flutter GMTC
xster
June 21, 2018
Transcript
51 slides
使⽤Flutter快速构建集美 观与⾼性能于⼀体的移动 应⽤ Xiao Yu (于潇) ⾕谷歌Flutter框架⼯工程师
Build beautiful native apps in record time
None
移动/台式机的使⽤用时间
移动应⽤用/⽹网站的使⽤用时间
中国⽤用户的移动应⽤用使⽤用时间
移动应⽤用使⽤用时间的分配
None
电⼦子商务交易易量量
Confidential + Proprietary • 多平台 • ⾼高性能 ⽤用户的需求 Market Needs
Confidential + Proprietary 获奖软件 Award-Winning Apps
Confidential + Proprietary 获奖软件 Award-Winning Apps
Confidential + Proprietary 国内流⾏行行软件 Popular Apps in China
Confidential + Proprietary ⽤用户的需求 Market Needs • 多平台 • ⾼高性能
• 精美的定制设计
Confidential + Proprietary 移动软件开发的困难 Mobile Development Challenges • 开发太贵 •
开发太慢 • ⾼高质量量太难 • ⼯工程资源太难共享
Confidential + Proprietary 移动软件开发的困难 Mobile Development Challenges 肯定有更更好的办法
Confidential + Proprietary 个⼈人背景 Speaker Background • 移动软件⼯工程师 • 移动软件设计初创企业
• YouTube安卓客户段 • Flutter框架
Confidential + Proprietary ⽬目标 Goals • Fast Development • 让开发者处在⾼高⼯工作效率的状态
• Expressive and Flexible UI • 可创造出任何设计师期望的局⾯面与效果 • High Performance • 不不牺牲原⽣生的运⾏行行速度
Confidential + Proprietary Flutter的特点 Flutter Summary Fast Development • Hot
Reload • 快速搭构,快速调试 • Declarative+Reactive • 减低认知负荷 • Testing • ⽆无需看界⾯面的界⾯面测试 Expressive and Flexible UI • Compositional API • 重建框架与开发者的关系 • Render Directly to GPU • 提供更更紧密的界⾯面细节控制 Native Performance • Optimized Performance • 实现Flutter⾼高性能的原理理 • Compiles to Native • 编译⾄至ARM代码
Confidential + Proprietary Flutter的特点 Flutter Summary Fast Development • Hot
Reload • 快速搭构,快速调试 • Declarative+Reactive • 减低认知负荷 • Testing • ⽆无需看界⾯面的界⾯面测试 Expressive and Flexible UI • Compositional API • 重建框架与开发者的关系 • Render Directly to GPU • 提供更更紧密的界⾯面细节控制 Native Performance • Optimized Performance • 实现Flutter⾼高性能的原理理 • Compiles to Native • 编译⾄至ARM代码
Confidential + Proprietary 热重载 Hot Reload “我的代码还在 编译ing”
Confidential + Proprietary 热重载 Hot Reload 写code
Confidential + Proprietary 热重载 Hot Reload Demo
Confidential + Proprietary 热更更新 Hot Reload
Confidential + Proprietary 热更更新 Hot Reload
Confidential + Proprietary 声明式+响应式开发模式 Declarative, Reactive Development
Confidential + Proprietary 声明式+响应式开发模式 Declarative, Reactive Development
Confidential + Proprietary ? ? ? 声明式+响应式开发模式 Declarative, Reactive Development
Confidential + Proprietary 声明式+响应式开发模式 Declarative, Reactive Development
Confidential + Proprietary 界⾯面测试 UI Testing
Confidential + Proprietary 界⾯面测试 UI Testing Demo
Confidential + Proprietary 界⾯面测试 UI Testing
Confidential + Proprietary Flutter的特点 Flutter Summary Fast Development • Hot
Reload • 快速搭构,快速调试 • Declarative+Reactive • 减低认知负荷 • Testing • ⽆无需看界⾯面的界⾯面测试 Expressive and Flexible UI • Compositional API • 重建框架与开发者的关系 • Render Directly to GPU • 提供更更紧密的界⾯面细节控制 Native Performance • Optimized Performance • 实现Flutter⾼高性能的原理理 • Compiles to Native • 编译⾄至ARM代码
组合性的API Compositional API API 秘制⼤大招
组合性的API Compositional API API 秘制⼤大招
Confidential + Proprietary 组合性的API Compositional API
Confidential + Proprietary 组合性的API Compositional API Demo
Confidential + Proprietary 组合性的API Compositional API
Confidential + Proprietary 直通GPU渲染 Render Directly to GPU Demo
Confidential + Proprietary 直通GPU渲染 Render Directly to GPU
Confidential + Proprietary Flutter的特点 Flutter Summary Fast Development • Hot
Reload • 快速搭构,快速调试 • Declarative+Reactive • 减低认知负荷 • Testing • ⽆无需看界⾯面的界⾯面测试 Expressive and Flexible UI • Compositional API • 重建框架与开发者的关系 • Render Directly to GPU • 提供更更紧密的界⾯面细节控制 Native Performance • Optimized Performance • 实现Flutter⾼高性能的原理理 • Compiles to Native • 编译⾄至ARM代码
Confidential + Proprietary 性能优化 - 互联⽹网 Performance Optimization - Web
对⽐比、 更更新 Real DOM Virtual DOM 应⽤用 平台 渲 染 Canvas Events
Confidential + Proprietary 性能优化 - 移动端 Performance Optimization - Mobile
对⽐比、 更更新 平台组件 框架组件 应⽤用 平台 渲 染 Canvas Events 线程跳跃
Confidential + Proprietary 性能优化 - Flutter Performance Optimization - Flutter
渲 染 更更 新 框架组件 应⽤用 平台 Canvas Events
Confidential + Proprietary 性能优化 - Flutter Performance Optimization - Flutter
渲 染 更更 新 框架组件 应⽤用 平台 Canvas Events
Confidential + Proprietary 性能优化 - 布局 Performance Optimization - Layout
⼤大⼩小 约束 VS 传统多次布局 单次布局
当前进展 Current Progress
闲⻥鱼 Alibaba Xianyu
Value Axis 7500 15000 22500 30000 2015-04 2016-02 2016-11 2017-08
2018-06 GitHub关注 GitHub Stars Beta 1
Flutter Release Preview 1 Announcing Flutter ⾸首个发布预览版 宣布
Confidential + Proprietary 社区 Community 开源开发 - 始于第⼀一⾏行行代码 GitHub github.com/flutter/flutter
官⽹网 flutter.io 中⽂文资源 flutter-io.cn
More Decks by xster
See All by xster
Profiling Flutter Apps - GDD China 2018
xster
3
830
SV Flutter iOS Meetup - 18/08/20
xster
0
140
Other Decks in Technology
See All in Technology
市販IoT機器や自作IoT機器とHomeAssistantを駆使して家の電気代をできる限り見える化する方法の考案
harutiro
0
420
Web Performance Is a Journey [PerfNow 2026]
tammyeverts
2
150
AI-Ready なデータ基盤ってなに? & 新卒未経験が、いま考えていること
imuta
0
1.1k
HTTP通信に使おうとすると実はめんどくさいfile_get_contents
maguroalternative
0
260
Dark Web - Como o Cibercrime Opera na Internet
nicholsjasper
0
110
AIエージェントのアーキテクチャ設計
nsatoh
0
540
kubellの最新データ分析環境
kubell_hr
2
260
Well, that’s weird…
csswizardry
1
200
フロントエンドのテストカバレッジは 100%強制がいい
bengo4com
3
1k
New Relicのアラート対応をClaude Codeで自動修正するワークフローを作った話
manabuseki
2
600
こんなに変わった! AWSネットワークの常識
shotashiratori
16
11k
IP重複は"ランディングVPC"で受け止める ― PrivateLink と Transit Gatewayによるマルチテナント接続基盤の設計
hatahata021
3
270
Featured
See All Featured
Breaking role norms: Why Content Design is so much more than writing copy - Taylor Woolridge
uxyall
2
540
I Don’t Have Time: Getting Over the Fear to Launch Your Podcast
jcasabona
35
2.9k
Speed Design
sergeychernyshev
33
2.3k
The Web Performance Landscape in 2024 [PerfNow 2024]
tammyeverts
12
1.4k
End of SEO as We Know It (SMX Advanced Version)
ipullrank
3
4.5k
Reality Check: Gamification 10 Years Later
codingconduct
0
2.4k
Leading Effective Engineering Teams in the AI Era
addyosmani
9
2.9k
Git: the NoSQL Database
bkeepers
PRO
433
67k
B2B Lead Gen: Tactics, Traps & Triumph
marketingsoph
1
310
WCS-LA-2024
lcolladotor
0
1k
How to build a perfect <img>
jonoalderson
1
6.3k
Noah Learner - AI + Me: how we built a GSC Bulk Export data pipeline
techseoconnect
PRO
0
500