I noticed that AnimatedModalBarrier didn't have the onDismiss callback that ModalBarrier does, and so I added that, and while I was at it, I updated the unit tests to perform all of the tests that are done on ModalBarrier also on AnimatedModalBarrier. The tests are unchanged, other than using AnimatedModalBarrier instead.
* renovated and added a test
* fixes nits and tests.
* revert commits
* make FadeInImage follow gapless image playback
* refactor: never dispose _AnimatedFadeOutFadeIn
* add assert
* 9b3117a7b Create `ImageFilter.dilate`/`ImageFilter.erode` (flutter/engine#32334)
* 92a6ade97 Roll Fuchsia Mac SDK from m_-rjFvCk... to hJaq9O7XI... (flutter/engine#32402)
* 31fd1bb85 Roll Fuchsia Linux SDK from 5abhmXb9Q... to WdxX5Sqix... (flutter/engine#32403)
* f08880170 Roll Skia from 5215ec1ab9cd to fd9c66e18030 (1 revision) (flutter/engine#32406)
* ac21195d3 Fix inconsistent enum/class private member naming (flutter/engine#32409)
* 75e7cfde7 Fix deltas when selection is active and composing begins on MacOS (flutter/engine#32412)
* 7e5989b3c Fix SemanticsAction naming consistency (flutter/engine#32411)
* 1b3e9dc89 Fix a crash when setting clipboardData to null on iOS (flutter/engine#32413)
* ef50b28dc Roll Fuchsia Linux SDK from WdxX5Sqix... to PmeDIogNb... (flutter/engine#32422)
* b48d65e88 Roll Fuchsia Mac SDK from hJaq9O7XI... to WBAQhRswX... (flutter/engine#32423)
* Added a bool that allows us to limit debugProfileBuildsEnabled to user
created widgets.
* made it turned on by default
* switched to hashmap
* Cleaned everything up and added tests
* fixed an odd test where it wants to be able to add asserts and run in profile mode
* hixie feedback
* hixie2
* made it default to false
* updated docstring as per dans request
* f4e33bae7 Roll Dart SDK from 2271a7948692 to 760722f8224b (1 revision) (flutter/engine#32396)
* 041ad6472 Roll Fuchsia Mac SDK from mbPpHdT-i... to m_-rjFvCk... (flutter/engine#32397)
* 5d497ab5a Roll Fuchsia Linux SDK from pnlwVqOTT... to 5abhmXb9Q... (flutter/engine#32398)
* 5bf8acdfc [fuchsia] Support --no-prebuilt-dart-sdk in build_fuchsia_artifacts. (flutter/engine#32311)
* e7e7ca125 Always initialize the _weakFactory in FlutterViewController (flutter/engine#32395)
Implements a PlatformMenuBar widget and associated data structures for defining menu bars that use native APIs for rendering.
This PR includes:
A PlatformMenuBar class, which is a widget that menu bar data can be attached to for sending to the platform.
A PlatformMenuDelegate base, which is the type taken by a new WidgetsBinding.platformMenuDelegate.
An implementation of the above in DefaultPlatformMenuDelegate that talks to the built-in "flutter/menu" channel to talk to the built-in platform implementation. The delegate is so that a plugin could override with its own delegate and provide other platforms with native menu support using the same widgets to define the menus.
This is the framework part of the implementation. The engine part will be in flutter/engine#32080 (and flutter/engine#32358)