本頁為 3.35.0 的發行說明。 如需後續錯誤修正版本的資訊, 請參閱 Flutter [CHANGELOG]⟦L1095⟧。 ⟦L1094⟧

更新內容

#

Framework

#
  • 修正 TreeSliver 的渲染偏移。by @yiiim in 166442
  • SliverEnsureSemantics by @Renzo-Olivares in 165589
  • [framework] 重新啟用已跳過的 impeller goldens。by @jonahwilliams in 166354
  • 回滾 "SliverEnsureSemantics (#165589)" by @auto-submit[bot] in 166870
  • ImageStreamCompleter 不再檢查 _hadAtLeastOneListener 以進行釋放 by @dkwingsmt in 166797
  • [Web] 確保 NetworkImage 在兩幀間被釋放時不會崩潰 by @dkwingsmt in 166652
  • 將 flutter/engine 倉庫內的註解連結遷移至 flutter/flutter 倉庫 by @dkwingsmt in 166790
  • 移除不必要的 this. 修飾詞。by @scheglov in 166805
  • [Impeller] 使用裝置屬性的 uniform 對齊,而非保守的 256 值。by @jonahwilliams in 166884
  • 重新上線 "SliverEnsureSemantics (#165589)" by @Renzo-Olivares in 166889
  • 在 network image 的 dart 文件中新增網路權限資訊。by @reidbaker in 167110
  • 修正 CupertinoSearchTextField 捲動時淡出與動畫 insets 的最大高度計算 by @victorsanni in 166569
  • 導覽列轉場時裁剪底部元件 by @victorsanni in 166705
  • Persistent CupertinoListTile leading 和 trailing by @victorsanni in 166799
  • [ Widget Preview ] 為 Preview 新增 themebrightness 屬性支援 by @bkonyi in 167001
  • 調整 HSLColor.fromColor 的飽和度計算方式 by @benthillerkus in 166639
  • 修正:更新 sheet route 的底部 padding 與頂部 padding 一致 by @rkishan516 in 164473
  • 打破 dlpath 與 typographer 的循環依賴 by @gaaclarke in 167293
  • 新增 NoDefaultCupertinoThemeData 的等值判斷 by @rkishan516 in 166655
  • 修正 engine 文件連結 by @LinXunFeng in 167346
  • [web] 當 window/iframe 失去焦點時關閉輸入連線 by @yjbanov in 166804
  • 新增 DrivenScrollActivity.simulation 建構子 by @gnprice in 166730
  • 提升 leak tracker 的固定版本,以啟用 web 上的實驗性追蹤 by @polina-c in 167502
  • ✨ 新增 PositionedGestureDetails by @AlexV525 in 160714
  • 註明何時需要 --enable-vmservice,否則略過 by @matanlurey in 167579
  • 移除多餘的 usematerial3 by @IldySilva in 167337
  • 滾動 pub 套件 by @flutter-pub-roller-bot in 167680
  • 修復 164034 by @Piinks in ⟦L1103⟧
  • 移除 flutter engine repo 連結 by @reidbaker in 167481
  • 更新 Tree-hygiene.md by @matanlurey in 167699
  • iOS:將最低支援版本更新為 13.0 by @cbracken in 167737
  • 在 StrutStyle 的等值檢查中加入 leadingDistribution by @Mairramer in 164813
  • 更新平台視圖文件,補充 4 個標準名稱與縮寫 by @reidbaker in 167752
  • 修正拼字錯誤 by @loic-sharma in 167684
  • 控制 slivers 的繪製順序 / z-order by @gnprice in 164818
  • 新增 CupertinoSlidingSegmentedControl 的 widget of the week 影片 by @loic-sharma in 167687
  • 更新 Google 測試文件 by @Piinks in 167685
  • [web] 將 text_editing.dart 的部分 nullable 移除 by @yjbanov in 166595
  • 為 CupertinoDialog 新增 directionality by @Tosemite in 167403
  • [Android] 實作敏感內容設定(第二次)by @camsim99 in 167815
  • 允許 DrivenScrollActivity 子類自訂 overscroll 處理 by @gnprice in 166731
  • 為 BoxShape.circle 與 borderRadius 檢查新增 assert 訊息 by @dbspoudel in 163917
  • 為 showCupertinoDialog 新增 barrierColor 屬性 by @masal9pse in 166911
  • 為 FormField 新增 onReset callback by @foxmind1 in 167060
  • 更新 CupertinoSliverNavigationBar 文件 by @RamonFarizel in 167148
  • 修正 WidgetStateMapper 錯誤訊息中過時的 material 參考 by @Pante in 166816
  • 支援 Icon 的字重(font weight)by @victorsanni in 167245
  • 移除 semantics role search box by @chunhtai in 167290
  • 165369 - 支援 CupertinoButton 的其他元件狀態 by @srivats22 in 166088
  • macOS:最低支援版本更新為 10.15 by @cbracken in 168101
  • 修正 SliverTree 捲動渲染問題 by @yiiim in 167921
  • 橫向模式下收斂 nav bar large title by @victorsanni in 166956
  • 滾動 pub 套件 by @flutter-pub-roller-bot in 168119
  • fix(a11y):檢查剩餘相關的 text direction 屬性 by @Goddchen in 165028
  • 修正:確保 Image.errorBuilder 能可靠防止錯誤回報(含 addEphemeralErrorListener)by @dkwingsmt in 167783
  • KeepAlive AutomaticKeepAliveAutomaticKeepAliveClientMixin 新增文件範例 by @ValentinVignal in 168137
  • [ Widget Preview ] 改善 widget inspector 對 widget previews 的支援 by @bkonyi in 168013
  • 修正 SliverTree 子節點位置錯誤 by @yiiim in 167928
  • [ Widget Preview ] 新增 typedefs,將 heightwidth 替換為 size by @bkonyi in 168063
  • [Impeller] 於所有描述筆劃的地方使用 StrokeParameters by @flar in 168276
  • Cupertino sheet MediaQuery 值 by @CoderNamedHendrick in 168041
  • 為 MediaQuery 新增 height 與 width 屬性 by @ksokolovskyi in 167829
  • iOS/macOS:統一 Flutter 版權標頭 by @cbracken in 168390
  • [web] 移除更多已棄用的 JS 函式用法 by @kevmoo in 166157
  • 滾動 pub 套件 by @flutter-pub-roller-bot in 168509
  • 讓 MergeSemantics 能合併 customAction by @QuncCccccc in 168414
  • 移除 SemanticRoute 類別中多餘的 setAriaRole('dialog') 備援 by @flutter-zl in 168345
  • 新增 CupertinoSlider 觸覺回饋 by @alex-medinsh in 167362
  • 以統一命名方案標記平台視圖模式 by @reidbaker in 168670
  • 當 large title 展開時,移除 CupertinoSliverNavigationBar 背景盒 by @victorsanni in 168407
  • nav bar 返回標籤在轉場中不會被裁切 by @victorsanni in 168194
  • Android 支援 home/end 鍵盤快捷鍵 by @justinmc in 168184
  • 為 IndexedStack 的 index 參數新增 assert by @ksokolovskyi in 167757
  • 修正移除頁面未動畫時 hero 未顯示 by @chunhtai in 168617
  • 修正 CupertinoSliverNavigationBar searchable-to-searchable 轉場時的搜尋殘影裁切 by @victorsanni in 168510
  • 回滾 "Clip search artifacts in CupertinoSliverNavigationBar searchable-to-searchable transitions (#168510)" by @auto-submit[bot] in 168775
  • 改善 KeyedSubtree 建構子的文件 by @dogaozyagci in 167198
  • 移除關於快取的已棄用 todo by @ValentinVignal in 168534
  • 讓 Cupertino sheet 透過 AnnotatedRegion 設定 systemUIStyle by @MitchellGoodwin in 168182
  • 重新上線 "Clip search artifacts in CupertinoSliverNavigationBar searchable-to-searchable transitions" by @victorsanni in 168772
  • CupertinoSliverNavigationBar 支援無障礙文字縮放 by @victorsanni in 168866
  • [Impeller] 刪除多餘的 impeller path 類別 by @flar in 168760
  • 明確 jumpToWithoutSettling 在 scroll_position.dart 的棄用說明 by @dogaozyagci in 167200
  • [skwasm] 在 debug 模式下新增傾印 live 物件數量的能力 by @eyebrowsoffire in 168389
  • 修正 Navigator 在 onPopPage 回傳 false 時仍呼叫 onPopInvokedWithResult by @chunhtai in 168567
  • 支援在 widget inspector 隱藏 widget 子樹 by @bkonyi in 169007
  • fix(widget_inspector):為 flex factor 屬性新增 null 檢查以避免例外 by @muhammadkamel in 167890
  • 在 PrimaryPointerGestureRecognizer 使用 gestureSettings.touchSlop by @KyleFin in 161549
  • 重構 MediaQuery.sizeOf(context).height 的用法,改用新 .heightOf(context) by @AbdeMohlbi in 168894
  • 取代 test/cupertino/nav_bar_transition_test.dart 的 goldens by @victorsanni in 169172
  • 解除 test/test_core/test_api 套件的版本鎖定 by @DanTup in 169198
  • 為 Visibility 新增排除隱藏子元件的 focus 選項 maintainFocusability,並於 IndexedStack 設為 false by @skimm3 in 159133
  • 使用 pub workspace by @mosuem in 168662
  • 回滾 "Use pub workspace (#168662)" by @auto-submit[bot] in 169357
  • 開始移除 Observatory 支援與相關參考 by @bkonyi in 169216
  • 讓 CupertinoTextField placeholder 基線對齊 by @victorsanni in 166952
  • 修正 CupertinoTextSelectionToolbar 垂直位置計算 by @victorsanni in 169308
  • 新增 workspace by @mosuem in 169451
  • 回滾 "Add workspace (#169451)" by @auto-submit[bot] in 169468
  • [web] 修正 Safari 與 Firefox 在 SelectionArea 上方輸入無回應問題 by @ksokolovskyi in 167275
  • 手動更新 vector_math 套件 by @kevmoo in 169476
  • 解除 web 上 text_painter_rtl_test 的跳過 by @yjbanov in 169537
  • 重新啟用 SelectableRegion web 測試 by @Renzo-Olivares in 169541
  • 新增 ModalRoute 的 opaque、isActive、isFirst、popDisposition 屬性 by @rkishan516 in 167324
  • 清理文件中對已棄用 onPop 方法的參考 by @justinmc in 169700
  • IOSSystemContextMenuItem.toString 改為 Diagnosticable by @justinmc in 169705
  • 滾動 pub 套件 by @flutter-pub-roller-bot in 169865
  • 在 hero 飛行前檢查前一頁是否已排版 by @MitchellGoodwin in 169633
  • 為 AlignmentGeometry 新增靜態便利成員 by @loic-sharma in 169709
  • 增加 keep alive 相關文件說明 by @Valentin