Flutter Monthly #11

Chloe Hsu
Flutter Taipei
Published in
5 min readNov 26, 2020

Null safety in Dart —介紹

Dart 的 Null Safety 已經到了 Beta 階段唷!Flutter Team 也在他們的 Youtube 頻道上釋出了Dart 的 Null Safety 介紹影片!許多語言都有 Null Safety 的特性。但卻顯少語言有 Sound Null Safety 。除了 Swift 之外,Dart 也有這樣子的特性哦!

Sound Null Safety 有什麼好處嗎?

圖片截自 Null Safety in Dart — Introduction 影片

影片綱要整理

在這短短的介紹影片中,你會認識到:

  • 認識 Null Safety
  • 為什麼要 Null Safety ?
  • 什麼樣的情況下會用到?
  • Null Safety 對於作為開發者的你來說有什麼好處?
  • Sound Null Safety 介紹

影片中帶來了許多簡單不同的範例,帶你快速認識和應用 Dart Null Safety

第二支影片,是詳細版的 Dart Null Safety 影片,影片中以 Live Coding 的方式來講解介紹。讓你有更詳細的了解哦!

16 個身為 Flutter 工程師應該要知道的 Dart 的小技巧

Widget of the Week 這個月介紹了 GridView 哦!

Googl Pay 用 Flutter 重寫

Google Pay 用 Flutter 重寫,更是這個月的亮點! 雖然目前只在印度和新加坡上線而已,不過這麼估狗爸自家的 App 而且還是處理到金流的 App。還是非常值得關注。

尤其這篇文章中分享了他們選擇使用 Flutter 的原因:

Google Pay picks Flutter to drive its global product development

不過,Reddit 上也有國外的朋友有不同觀點,似乎注意到了效能問題。Flutter Team 的人也親自回復了這個問題:

Hi. Flutter Co-founder/Engineering Director here.

We are aware of some issues with performance in the new GPay app, particularly on *first* launch (when Skia has to compile all the each-phone-specific-GPU shaders for the first time for that phone) and particularly on newer iOS devices (where although we use Metal, not 100% of the optimizations enabled for OpenGL have been ported over yet, e.g. https://github.com/flutter/flutter/issues/60267) and are actively working with GPay engineers to address in upcoming releases.

Please don’t hesitate to reach out with suggestions or reports if you find issues with Flutter! flutter.dev/support. Thanks!

精選文章

LINE Shopping App with Flutter: 使用 Flutter 來打造 LINE 購物的手機雙平台應用

這個月的另一個亮點之一就是在亞洲無人不知道,每個台灣人幾乎都在用的 Line。不管國外有多少大小公司用 Flutter 開發,最有感還是自己身邊最也認識的 App/公司了!

不知道有多少人在用 Line Shopping(小編沒在用)?還沒用的話趕快下載玩玩看,給他們做壓力測試!Line 的文章中不藏私地分享了:

  • 為什麼選用 Flutter?
  • 開發時遇到的問題
  • Line 開發 Android 和 iOS 的 開源 SDK

除了文章之外,他們也很用心地錄了演講影片和分享了 Slide 唷!

Flutter Brunch

每個月都有 Flutter Brunch 小聚,小型聚會讓大家聊聊 Flutter、聊聊你的專案、聊聊遇到的坑,一起練技術、一起解決問題

文章都看了,手拍了嗎?
還沒拍呀?!拍手鼓勵支持,小編們才用動力繼續整理寫下去哦!

--

--