Flutter 3.13.0 發行說明
本頁為 3.13.0 版本的發行說明。
如需後續錯誤修正版本的資訊,請參閱我們的 [CHANGELOG]⟦L785⟧。 ⟦L784⟧
框架(Framework)
#- 修正 EditableText 在選取區無效時插入符號位置錯誤 by @bleroux in 123777
- 修正 IgnorePointer 與 AbsorbPointer 僅阻擋使用者互動… by @chunhtai in 120619
- [flutter_test] 新增模擬 EventChannels 的方法 by @Rexios80 in 123726
- 回退 "[flutter_test] Adds method to mock EventChannels" by @zanderso in 124401
- 重新上線 Refactor reorderable list semantics by @chunhtai in 124395
- 移除已棄用的 BinaryMessenger API by @goderbauer in 124348
- 修正 InkWell 波紋在不預期時於右鍵點擊顯示 by @bleroux in 124386
- 為 AppLifecycleState 增加值做準備 by @gspencergoog in 119954
- 文件化 StaticIconProvider by @christopherfujino in 120935
- [Text Input] 除 web 外,僅在收到 connectionClosed 時取消焦點 by @luckysmg in 123929
- [flutter_test] 新增模擬 EventChannels 的方法 by @Rexios80 in 124415
- [web] 大量 JS 互操作遷移至 JS 型別 by @joshualitt in 123286
- 降低 macOS 超出滾動阻力 by @moffatman in 122142
- ExpansionTile 稽核 by @chunhtai in 124281
- Sliver Constrained Cross Axis by @thkim1011 in 124337
- 修正 ShaderMask 範例問題 by @adityathakurxd in 124511
- BottomAppBar:修正顏色與陰影層重複 by @chrisbobbe in 123294
- 新增
dart_fix支援至flutter_testby @pdblasi-google in 124347 - 將 Mike Rydstrom 加入 AUTHORS by @rydmike in 124561
- [integration_test] 升級 androidx test 至 1.4.0 by @micaelcid in 122437
- 移除 TextSelectionHandleControls 實例的棄用警告 by @justinmc in 124611
- DraggableScrollableSheet 與 NestedScrollView 應遵守 NeverScrollableScrollPhysics by @xu-baolin in 123109
- 將 EdgeDraggingAutoScroller 的 velocityScalar 參數暴露給 ReorderableList by @gabrielgarciagava in 124459
- 新增
StrokeCap至CircularProgressIndicatorby @bernaferrari in 122664 - 回退 "[integration_test] upgrade androidx test to 1.4.0" by @zanderso in 124644
- Bug report 2 問題回報範本 by @exaby73 in 122385
SemanticsFlag/SemanticsAction清理(第 4 部分)by @bernaferrari in 123329- 本地化拼字檢查字串 "No Replacements Found" by @justinmc in 124259
- 改善 TextSelectionHandleControls 棄用相關文件 by @justinmc in 123827
- 重構
SliverAppBar.medium與SliverAppBar.large以修復多個問題 by @TahaTesser in 122542 - 修正
CupertinoContextMenu在路由動畫時拋出例外 by @TahaTesser in 124785 - [CupertinoListSection] 新增 separatorColor 屬性 by @piedcipher in 124803
- iOS context menu 陰影 by @justinmc in 122429
- 為 Checkbox 新增可選 labelText 與 semanticLabel by @hangyujin in 124555
- [cupertino] 透過僅使用一個 opacity layer 提升 cupertino picker 效能 by @jonahwilliams in 124719
- 回退 "[framework] use shader tiling instead of repeated calls to drawImage" by @jonahwilliams in 124640
- 自訂 Stepper.dart 連線線條顏色與粗細 by @mub-pro in 122485
- 修正 SelectableRegion Widget 的 null 異常崩潰 by @hangyujin in 124736
- 在 material_localizations 中棄用 reorderable list 字串 by @chunhtai in 124711
- 修正 Chip 高亮顏色未繪製於背景色之上 by @TahaTesser in 124673
- SelectionContainer 的監聽器可於呼叫時自我移除… by @chunhtai in 124624
- 為 SearchBar 新增範例 by @QuncCccccc in 124992
- 為 static scrollable 方法新增可選 axis 參數 by @Piinks in 124894
- 每次 performLayout 時重新排版 ListWheelScrollView 的作用中子元件 by @werainkhatri in 124476
- [InputDatePickerFormField] 為 InputDatePickerFormField Widget 新增 acceptEmptyDate by @piedcipher in 124143
- iOS 拼字檢查游標定位 by @justinmc in 124875
- 移除未使用的 context 參數 by @justinmc in 124254
- 修正 text theme dart fix 案例 by @Piinks in 125052
- 移除未使用的 getRootRenderObject 與 getSelectedRenderObject 服務擴充 by @goderbauer in 124805
- 限制 Material 拼字檢查建議數量為 3 by @justinmc in 124899
- 為 SubmenuButton 新增 controller 參數 by @gspencergoog in 125000
- 移除 package:js/dart:js_interop 衝突 by @srujzs in 124879
- 自適應 alert dialog by @MitchellGoodwin in 124336
- ContextMenuButtonItems 可禁用 by @justinmc in 124253
- 修正 SliverReorderableList 測試使用正確的自訂 action id by @chunhtai in 125144
- 視窗大小變更時關閉停駐搜尋檢視 by @QuncCccccc in 125071
- 將 selectable 更新回復為 postframecallback 或 microtask by @chunhtai in 125140
- 修正 DropdownMenu 在顯示選單時調整視窗大小導致崩潰 by @xu-baolin in 124855
- 於觸控拖曳手勢時顯示放大鏡 by @Renzo-Olivares in 125151
- 搜尋檢視形狀應裁剪內容 by @QuncCccccc in 125161
DropdownMenu.width應支援於執行時更新 by @xu-baolin in 124847- MinimumTapTargetGuideline 於可滾動邊界略過節點 by @chunhtai in 124615
- 預設於 iOS 的 TextField 顯示 iOS 選單 by @justinmc in 124895
- 在 ChoiceChip 上實作 CheckmarkableChipAttributes by @9oya in 124743
- 回退 "Sliver Constrained Cross Axis" by @thkim1011 in 125233
- 移除 dynamic 呼叫 by @Hixie in 125238
- 移除已棄用的 test_api 匯入用法 by @natebosch in 124732
- 拖曳結束時工具列應重新顯示 by @Renzo-Olivares in 125165
- BottomAppBar 文件:修正文檔 surfaceTintColor by @chrisbobbe in 124563
- 更新 BottomNavigationBar API 文件,連結至 NavigationBar by @HansMuller in 125240
- 讓可選文字的滑鼠游標可設定 by @bleroux in 125133
- iOS 拼字檢查選取區以紅色顯示 by @justinmc in 125162
- 為 defaultTargetPlatform 上的 kIsWeb 新增文件 by @gspencergoog in 125313
- 修正 divider_theme 空間文件問題 by @xcc3641 in 125195
- 移除不必要的 ClipboardStatusNotifier 參考 by @chunhtai in 125255
- 更新 Cupertino 桌面文字選取工具列 by @luccasclezar in 121829
- 移除部分已不再棄用的匯入忽略 by @natebosch in 125261
- 調整選取區矩形包含條件 by @moffatman in 125022
- 修正 Android 風格拼字檢查工具列位置 by @justinmc in 124897
- 微調文件指向錯誤元件以免讀者混淆 by @fzyzcjy in 125394
- 為 RouteInformation 與 didPushRouteInformation 實作 url 支援 by @chunhtai in 119968
- 修正 iOS 觸控拖曳行為 by @Renzo-Olivares in 125169
- 修正
OutlinedButton、TextButton、IconButton僅傳入一個游標給styleFrom時拋出例外 by @TahaTesser in 125204 - 修正 _test_http_request.dart 中的 JS 型別 by @srujzs in 125220
- 為 LinearProgressIndicator 新增
borderRadiusby @bernaferrari in 123517 - Sliver Constrained Cross Axis by @thkim1011 in 125239
- [date_picker] [date_range_picker] 新增切換圖示屬性 by @piedcipher in 124881
- 修正
SliverAppBar.medium與SliverAppBar.large文字縮放 by @TahaTesser in 125038 - iOS TextField 拼字檢查樣式 by @justinmc in 125432
- 將 JSFunction 重新命名為 JSExportedDartFunction by @srujzs in 125453
- 為 Apple 裝置上的 radio button 新增 selected semantics flag by @chunhtai in 125499
- 為 M3 bottom sheets 提供預設約束條件 by @guidezpl in 120065
- 修正:
moreOrLessEquals不允許actual為整數 by @fzyzcjy in 125599 - 修正
SnackBarmaterial clip by @TahaTesser in 125622 - 新增升級 gradle 版本的遷移工具,當偵測到與 Android Studio 內建 Java 版本衝突時 by @gmackall in 124085
- 修正 RangeSlider 無 overlayShape 時偏左 by @arvinwli in 125483
- 支援 AGP 8.0 的 host apps by @reidbaker in 125657
- 增強 OverlayEntry 文件 by @werainkhatri in 124478
- 允許使用者為
showMenu提供路由設定 by @fzyzcjy in 124935 - 文件語法微調 by @phlippieb-discovery in 125462
Checkbox.fillColor應於未勾選時套用至 checkbox 背景色 by @QuncCccccc in 125643- 新增查詢引擎鍵盤狀態的 channel by @bleroux in 122885
- Sliver Cross Axis Group by @thkim1011 in 123862
- 修正 DraggableScrollableSheet 在 controller 動畫與切換元件時崩潰 by @dnfield in 125721
- 新增自訂 Slider 互動性的支援 by @werainkhatri in 121483
- 引入
TabBar.tabAlignmentby @TahaTesser in 125036 - 回退 "Add migrator to upgrade gradle version when conflict with And…" by @gmackall in 125813
- 將 Xcode 專案的最後版本檢查遷移至 Xcode 14.3 by @jmagman in 125827
- 使
future與stream在其各自 builder 元件中為必填參數 by @caseycrogers in [125838]⟦L109