Flutter 3.19 beta (January 10, 2024)
The release of the Flutter 3.19 beta contains the changes noted below.
To try out the newest beta run:
flutter channel beta
flutter upgrade
Flutter 3.19 beta (January 10, 2024)
Flutter Framework
Framework
- Retry on transient Skia failure. by @Hixie in https://github.com/flutter/flutter/pull/139182
- Reverts "Retry on transient Skia failure." by @auto-submit in https://github.com/flutter/flutter/pull/139407
- Add Impeller complex layout impeller benchmarks. by @jonahwilliams in https://github.com/flutter/flutter/pull/139490
- Enable TapRegion to detect all mouse button click by @anidotnet in https://github.com/flutter/flutter/pull/136799
- Removed deprecated NavigatorState.focusScopeNode by @Piinks in https://github.com/flutter/flutter/pull/139260
- Roll dependencies by @Hixie in https://github.com/flutter/flutter/pull/139606
- Reset deprecation period for setPubRootDirectories by @Piinks in https://github.com/flutter/flutter/pull/139592
- [Android] Bump template & integration test Gradle version to 7.6.4 by @camsim99 in https://github.com/flutter/flutter/pull/139276
- Don't send images to Gold on release branches by @Piinks in https://github.com/flutter/flutter/pull/139706
- MultiDragPointerState should dispatch creation and disposal events. by @ksokolovskyi in https://github.com/flutter/flutter/pull/138807
- SelectionOverlay and TextSelectionOverlay should dispatch creation and disposal events. by @ksokolovskyi in https://github.com/flutter/flutter/pull/138804
- ScrollDragController should dispatch creation and disposal events. by @ksokolovskyi in https://github.com/flutter/flutter/pull/138800
- SnapshotPainter should dispatch creation and disposal events. by @ksokolovskyi in https://github.com/flutter/flutter/pull/138810
- Animate TextStyle.fontVariations by @Hixie in https://github.com/flutter/flutter/pull/138881
- Add Overlay.wrap for convenience by @goderbauer in https://github.com/flutter/flutter/pull/139823
- Add accessibility identifier to
SemanticsPropertiesby @bartekpacia in https://github.com/flutter/flutter/pull/138331 - Handle the case when _CupertinoBackGestureDetector is disposed during the drag. by @hangyujin in https://github.com/flutter/flutter/pull/139585
- Renamed
appbartoapp_bardirectory in API Examples Tests by @piedcipher in https://github.com/flutter/flutter/pull/139922 - Implement
switchexpressions inexamples/andanimation/by @nate-thegrate in https://github.com/flutter/flutter/pull/139882 - fix typo of 'not' instead of 'now' for
useInheritedMediaQueryby @timmaffett in https://github.com/flutter/flutter/pull/139940 - [Docs] Added missing
CupertinoApp.showSemanticsDebuggerby @piedcipher in https://github.com/flutter/flutter/pull/139913 - Make tests more resilient to Skia gold failures and refactor flutter_goldens for extensive technical debt removal by @Hixie in https://github.com/flutter/flutter/pull/139549
- Reverts "Make tests more resilient to Skia gold failures and refactor flutter_goldens for extensive technical debt removal" by @auto-submit in https://github.com/flutter/flutter/pull/140085
- Catch
Stopwatchwith static analysis by @LongCatIsLooong in https://github.com/flutter/flutter/pull/140019 - 🎨: fix cupertionActionSheet design by @Anishishi in https://github.com/flutter/flutter/pull/134345
- Revert "Dynamic view sizing" by @chingjun in https://github.com/flutter/flutter/pull/140165
- fix reorderable_list drop animation by @yiiim in https://github.com/flutter/flutter/pull/139362
- Cupertino text clear label by @MitchellGoodwin in https://github.com/flutter/flutter/pull/129727
- Increase versions of leak tracker libraries. by @polina-c in https://github.com/flutter/flutter/pull/140018
- Move package:web dependency to dev dependency by @srujzs in https://github.com/flutter/flutter/pull/139696
- Reorganize dependencies on leak_tracker. by @polina-c in https://github.com/flutter/flutter/pull/140233
- Use new
enabledFeatureparam forAnalyticsby @eliasyishak in https://github.com/flutter/flutter/pull/139934 - [github actions] minor PR to test latest github actions by @XilaiZhang in https://github.com/flutter/flutter/pull/140252
- Use
SemanticsUpdateBuilderagain, remove all references to temporarySemanticsUpdateBuilderNewby @bartekpacia in https://github.com/flutter/flutter/pull/139942 - Document difference between softWrap and maxLine by @paldepind in https://github.com/flutter/flutter/pull/139363
- SemanticsProperties: default
identifierandtooltipto null by @bartekpacia in https://github.com/flutter/flutter/pull/140283 - Upgrade to version of leak tracker that does not depend on test_widgets. by @polina-c in https://github.com/flutter/flutter/pull/140247
- Added onEnd callback into AnimatedSize by @feduke-nukem in https://github.com/flutter/flutter/pull/139859
- Make
TextSpanhit testing precise. by @LongCatIsLooong in https://github.com/flutter/flutter/pull/139717 - [web] Re-enable test now that source of flakiness is fixed by @harryterkelsen in https://github.com/flutter/flutter/pull/140462
- Reverts "Make
TextSpanhit testing precise." by @auto-submit in https://github.com/flutter/flutter/pull/140468 - Reland
find.textRange.ofSubstringchanges by @LongCatIsLooong in https://github.com/flutter/flutter/pull/140469 - Remove outdated ignores from tool by @goderbauer in https://github.com/flutter/flutter/pull/140467
- Roll pub packages by @flutter-pub-roller-bot in https://github.com/flutter/flutter/pull/140472
- Integrate testWidgets with leak tracking. by @polina-c in https://github.com/flutter/flutter/pull/138057
- Revert "Integrate testWidgets with leak tracking. (#138057)" by @flar in https://github.com/flutter/flutter/pull/140502
- Reverts "[web] Re-enable test now that source of flakiness is fixed" by @auto-submit in https://github.com/flutter/flutter/pull/140515
- Add send_text_input_action case to deserialization_factory to allow sendTextInputAction usages through flutter_driver. by @nonvachara-paloit in https://github.com/flutter/flutter/pull/139197
- Make tests more resilient to Skia gold failures and refactor flutter_goldens for extensive technical debt removal by @Hixie in https://github.com/flutter/flutter/pull/140101
- Roll pub packages by @flutter-pub-roller-bot in https://github.com/flutter/flutter/pull/140525
- [web] Re-enable text field test now that fix has landed in engine by @harryterkelsen in https://github.com/flutter/flutter/pull/140678
- expose didExceedMaxLines from RenderParagraph by @huanghui1998hhh in https://github.com/flutter/flutter/pull/139962
- Show width and height in inspector overlay by @CoderDake in https://github.com/flutter/flutter/pull/140709
- Add command line parameter that turns on leak tracking. by @polina-c in https://github.com/flutter/flutter/pull/138653
- Set template and migrate apps to iOS 12 minimum by @jmagman in https://github.com/flutter/flutter/pull/140478
- Reland "Make
TextSpanhit testing precise." (#140468) by @LongCatIsLooong in https://github.com/flutter/flutter/pull/140621 - Reverts "Set template and migrate apps to iOS 12 minimum" by @auto-submit in https://github.com/flutter/flutter/pull/140822
- Upgrade leak_tracker. by @polina-c in https://github.com/flutter/flutter/pull/140758
- Fix 139196 selection OOB by @LongCatIsLooong in https://github.com/flutter/flutter/pull/140300
- [flutter] Allow ViewCollection to start empty. by @ditman in https://github.com/flutter/flutter/pull/140532
- Set template and migrate apps to iOS 12 minimum by @jmagman in https://github.com/flutter/flutter/pull/140823
- fix: cannot input new line using custom input control by @Satsrag in https://github.com/flutter/flutter/pull/140356
- Link to wiki page about updating dependencies in each
pubspec.yamlfile by @elliette in https://github.com/flutter/flutter/pull/140826 - Handle KEYCODE_DPAD_CENTER and KEYCODE_ENTER by @mossmana in https://github.com/flutter/flutter/pull/140808
- Re-land integrate testWidgets with leak tracking. by @polina-c in https://github.com/flutter/flutter/pull/140521
- Reverts "Re-land integrate testWidgets with leak tracking." by @auto-submit in https://github.com/flutter/flutter/pull/140926
- fix typo and reflow by @goderbauer in https://github.com/flutter/flutter/pull/140925
- Migrate Xcode projects last version checks to Xcode 15.1 by @jmagman in https://github.com/flutter/flutter/pull/140256
- Reland "integrate testWidgets with leak tracking" (#140521) by @polina-c in https://github.com/flutter/flutter/pull/140928
- manual pub roll to pick up dds fixes by @christopherfujino in https://github.com/flutter/flutter/pull/140979
- [web] Fix and unskip a few more CanvasKit tests by @yjbanov in https://github.com/flutter/flutter/pull/140821
- Reverts "manual pub roll to pick up dds fixes" by @auto-submit in https://github.com/flutter/flutter/pull/141033
- Manual pub roll pinning web socket channel by @christopherfujino in https://github.com/flutter/flutter/pull/141040
Material
- [l10n] Update Material shareButtonLabel by @bleroux in https://github.com/flutter/flutter/pull/138899
- Remove InkSparkle.constantTurbulenceSeedSplashFactory usage by @bleroux in https://github.com/flutter/flutter/pull/139481
- Optimize the display of the Overlay on the Slider by @hgraceb in https://github.com/flutter/flutter/pull/139021
- Convert some usage of
RawKeyEvent, et al toKeyEventby @gspencergoog in https://github.com/flutter/flutter/pull/139329 - Fix
DropdownMenuthrowingTextEditingControllerdisposed error on select by @gspencergoog in https://github.com/flutter/flutter/pull/139385 - Remove stray print by @Hixie in https://github.com/flutter/flutter/pull/139550
- Support for dismissDirection property in SnackBarTheme by @shanmugam28 in https://github.com/flutter/flutter/pull/139068
- Fix
DatePickerDialog content not visible on lower text scale by @TahaTesser in https://github.com/flutter/flutter/pull/139236 - Update
Tooltiptests for Material 3 by @TahaTesser in https://github.com/flutter/flutter/pull/139145 - Add
AnimationStyletoExpansionTileby @TahaTesser in https://github.com/flutter/flutter/pull/139664 - Remove deprecated parameters from
ElevatedButton.styleFrom(),OutlinedButton.styleFrom(), andTextButton.styleFrom()by @QuncCccccc in https://github.com/flutter/flutter/pull/139267 - Implement
SubmenuButton.onFocusChangeby @QuncCccccc in https://github.com/flutter/flutter/pull/139678 - Add background color to NavigationDrawerDestination by @hangyujin in https://github.com/flutter/flutter/pull/139154
- Introduce
exitDurationto Tooltip for mouse pointer devices by @JaspervanRiet in https://github.com/flutter/flutter/pull/138321 - Add 'Share' button to the selection toolbar on Android by @bleroux in https://github.com/flutter/flutter/pull/139479
- Add
enabledproperty toExpansionTileby @mateusfccp in https://github.com/flutter/flutter/pull/139519 - Improve slider's value indicator display test by @hgraceb in https://github.com/flutter/flutter/pull/139198
- Use dart analyze package for
num.clampby @LongCatIsLooong in https://github.com/flutter/flutter/pull/139867 - Fix SelectionArea select-word edge cases by @Renzo-Olivares in https://github.com/flutter/flutter/pull/136920
- Deprecate
RawKeyEvent,RawKeyboard, et al. by @gspencergoog in https://github.com/flutter/flutter/pull/136677 - Fix dayPeriodColor handling of non-MaterialStateColors by @gspencergoog in https://github.com/flutter/flutter/pull/139845
- Swap iOS back button icon in Material app bar by @MitchellGoodwin in https://github.com/flutter/flutter/pull/134754
- Add commonly used parameter names by @hgraceb in https://github.com/flutter/flutter/pull/140027
- Remove deprecated
ThemeData.selectedRowColorby @Renzo-Olivares in https://github.com/flutter/flutter/pull/139080 - Overlay supports unconstrained environments by @goderbauer in https://github.com/flutter/flutter/pull/139513
- Fix BottomNavigationBarItem label overflow by @sharmashashi in https://github.com/flutter/flutter/pull/120206
- feat: Add onTapAlwaysCalled in TextFormField by @lsaudon in https://github.com/flutter/flutter/pull/140089
- Remove usage of testWidgetsWithLeakTracking. by @polina-c in https://github.com/flutter/flutter/pull/140239
- Center Floating Snackbar with custom width when direction is RTL by @bleroux in https://github.com/flutter/flutter/pull/140215
- _TabBarViewState should not recreate page controller by @bleroux in https://github.com/flutter/flutter/pull/135500
- Remove outdated ignores from framework by @goderbauer in https://github.com/flutter/flutter/pull/140465
- Fix import pattern by @QuncCccccc in https://github.com/flutter/flutter/pull/140425
- Add custom system-wide text selection toolbar buttons on Android by @bleroux in https://github.com/flutter/flutter/pull/139738
- Rename MemoryAllocations to FlutterMemoryAllocations. by @polina-c in https://github.com/flutter/flutter/pull/140623
- improve comment doc in tabs.dart by @shirne in https://github.com/flutter/flutter/pull/140568
- Add key to BottomNavigationBarItem by @Gibbo97 in https://github.com/flutter/flutter/pull/139617
- Add
SegmentedButton.styleFromby @AcarFurkan in https://github.com/flutter/flutter/pull/137542 - Changes the regular cursor to a floating cursor when a long press occurs. by @yiiim in https://github.com/flutter/flutter/pull/138479
- [Fix] Consistency in ButtonStyleButton related Tests by @piedcipher in https://github.com/flutter/flutter/pull/140610
- Fix
SegmentedButtonstates update logic by @sharabiddin in https://github.com/flutter/flutter/pull/140772 - Add scrollbar for menus by @QuncCccccc in https://github.com/flutter/flutter/pull/140941
- Fix scrollable
TabBarexpands to full width when the divider is removed by @TahaTesser in https://github.com/flutter/flutter/pull/140963 - Fix refresh cancelation by @lukehutch in https://github.com/flutter/flutter/pull/139535
iOS
- [flutter_tools] build ios-frameworks: option to exclude plugin frameworks from the build by @p-mazhnik in https://github.com/flutter/flutter/pull/129739
- [Reland] Migration for the
sendTimingevents forpackage:unified_analyticsby @eliasyishak in https://github.com/flutter/flutter/pull/139299 - If one method of finding Dart VM fails for CoreDevice, wait for the other method by @vashworth in https://github.com/flutter/flutter/pull/139754
- [flutter_tools] catch SocketException writing to ios-deploy stdin by @christopherfujino in https://github.com/flutter/flutter/pull/139784
- [flutter_tools] handle FileSystemException trying to delete temp directory from core_devices.dart by @christopherfujino in https://github.com/flutter/flutter/pull/140415
- in
flutter run, throw tool exit when--flavoris provided but is not supported on the target device by @andrewkolos in https://github.com/flutter/flutter/pull/139045
Android
- Native assets support for Android by @dcharkes in https://github.com/flutter/flutter/pull/135148
macOS
- Restore and fix flavors_test_macos by @andrewkolos in https://github.com/flutter/flutter/pull/139841
Tooling
- Typo fix in dartdoc in tool test by @mdebbar in https://github.com/flutter/flutter/pull/139386
- Added vscode-insiders path installed via snap by @KristijanZic in https://github.com/flutter/flutter/pull/137117
- Make
handleJsonEventpublic so that it can be overridden internally. by @chingjun in https://github.com/flutter/flutter/pull/139531 - Send an event when proxied DDS creates a connection. by @chingjun in https://github.com/flutter/flutter/pull/139530
- have Java.version return null if
java --versionfails or cannot be run by @andrewkolos in https://github.com/flutter/flutter/pull/139614 - Migrate command usage values by @eliasyishak in https://github.com/flutter/flutter/pull/139383
- Support conditional bundling of assets based on
--flavorby @andrewkolos in https://github.com/flutter/flutter/pull/132985 - Reverts "Support conditional bundling of assets based on
--flavor" by @auto-submit in https://github.com/flutter/flutter/pull/139787 - Roll pub packages by @flutter-pub-roller-bot in https://github.com/flutter/flutter/pull/139864
- Roll pub packages by @flutter-pub-roller-bot in https://github.com/flutter/flutter/pull/139926
- Roll pub packages by @flutter-pub-roller-bot in https://github.com/flutter/flutter/pull/139969
- Allow plugins to use compileSdkPreview by @gmackall in https://github.com/flutter/flutter/pull/131901
- Warn when Gradle plugins are applied using the legacy "apply script method" way by @bartekpacia in https://github.com/flutter/flutter/pull/139690
- Reverts "Warn when Gradle plugins are applied using the legacy "apply script method" way" by @auto-submit in https://github.com/flutter/flutter/pull/140102
- Do not use project in do last by @reidbaker in https://github.com/flutter/flutter/pull/139325
- Optimize file transfer when using proxied devices. by @chingjun in https://github.com/flutter/flutter/pull/139968
- [deps] update Android SDK to 34 by @dcharkes in https://github.com/flutter/flutter/pull/138183
- [reland] Support conditional bundling of assets based on
--flavorby @andrewkolos in https://github.com/flutter/flutter/pull/139834 - Adapt wording for required Android SDK for plugins by @Gustl22 in https://github.com/flutter/flutter/pull/140043
- [macOS,iOS] CocoaPods recommended version: 1.13.0 by @cbracken in https://github.com/flutter/flutter/pull/135447
- refactored cli tool ipa method name to support --export-options-plist by @raphire08 in https://github.com/flutter/flutter/pull/138555
- Reland "Warn when Gradle plugins are applied using the legacy apply script method by @bartekpacia in https://github.com/flutter/flutter/pull/140103
- Revert automated changes made to deprecated settings.gradle (plugins.each) by @Gustl22 in https://github.com/flutter/flutter/pull/140037
- Part 1/n migration steps for kotlin migration by @reidbaker in https://github.com/flutter/flutter/pull/140452
- Reland: "Fix how Gradle resolves Android plugin" by @Gustl22 in https://github.com/flutter/flutter/pull/137115
- [flutter_tools] Ensure flutter daemon clients can detect preview device by @christopherfujino in https://github.com/flutter/flutter/pull/140112
- Fix flavor conditional asset bundling for macos by @andrewkolos in https://github.com/flutter/flutter/pull/140433
- Use double quotes over single quotes in gradle build files by @reidbaker in https://github.com/flutter/flutter/pull/140512
- Disable random test order in asset_bundle_test.dart by @zanderso in https://github.com/flutter/flutter/pull/140666
- Makes the flutter tool retry on a bad gateway network error from gradle by @zanderso in https://github.com/flutter/flutter/pull/140670
- Revert "[Impeller] Plumb through the impeller-force-gl flag." by @dnfield in https://github.com/flutter/flutter/pull/140535
- Update dependencies with
flutter update-packages --force-upgradeby @elliette in https://github.com/flutter/flutter/pull/140810 - Fix setup race in asset bundle tests by @andrewkolos in https://github.com/flutter/flutter/pull/140832
- [flutter_tools] add support for --enable-impeller to test device. by @jonahwilliams in https://github.com/flutter/flutter/pull/140899
- Remove deprecated bitcode stripping from tooling by @jmagman in https://github.com/flutter/flutter/pull/140903
- Fix local engine use in macOS plugins by @stuartmorgan in https://github.com/flutter/flutter/pull/140222
- Pin package:vm_service by @DanTup in https://github.com/flutter/flutter/pull/140972
- Gen l10n add named argument option by @TabooSun in https://github.com/flutter/flutter/pull/138663
- add flavor-conditional asset bundling support to
flutter testby @andrewkolos in https://github.com/flutter/flutter/pull/1