flutter/dev
Kate Lovett 8ba459ce9f
Update VelocityTracker (4) (#139166)
This updates the implementation to use the stopwatch from the Clock object and pipes it through to the TestWidgetsFlutterBinding so it will be kept in sync with FakeAsync.

Relands https://github.com/flutter/flutter/pull/138843 attempted to reland https://github.com/flutter/flutter/pull/137381 which attempted to reland #132291
Fixes https://github.com/flutter/flutter/issues/97761

1. The original change was reverted due to flakiness it introduced in tests that use fling gestures.
  * Using a mocked clock through the test binding fixes this now
2. It was reverted a second time because a change at tip of tree broke it, exposing memory leaks, but it was not rebased before landing. 
  * These leaks are now fixed
3. It was reverted a third time, because we were so excellently quick to revert those other times, that we did not notice the broken benchmark that only runs in postsubmit.
  * The benchmark is now fixed
2023-11-29 14:59:13 +00:00
..
a11y_assessments Pin package:web 0.4.0 (#138428) 2023-11-15 15:03:21 -08:00
automated_tests Pin package:web 0.4.0 (#138428) 2023-11-15 15:03:21 -08:00
benchmarks Update VelocityTracker (4) (#139166) 2023-11-29 14:59:13 +00:00
bots Analyze against using Stopwatches in the framework (#138507) 2023-11-29 08:49:35 -06:00
conductor Implement switch expressions in dev/ (#139048) 2023-11-28 23:40:28 +00:00
customer_testing Migrate customer_testing to sharded tests. (#138659) 2023-11-28 00:41:53 +00:00
devicelab Simplify devicelab logic and fix tests (#139122) 2023-11-29 08:41:27 +00:00
docs Update links and surrounding text for new main-api docs (#138602) 2023-11-17 22:27:53 +00:00
forbidden_from_release_tests Bump file,process,process_runner (#136418) 2023-10-12 13:05:24 -07:00
integration_tests Reverts "Reland Add platform view wide gamut test" (#139189) 2023-11-29 00:58:17 +00:00
manual_tests Implement switch expressions in dev/ (#139048) 2023-11-28 23:40:28 +00:00
missing_dependency_tests Enable private field promotion for dev (#134480) 2023-09-12 18:29:00 +00:00
snippets/config Remove null-safety argument from DartPad doc samples (#127345) 2023-05-23 00:10:11 +00:00
tools Implement switch expressions in dev/ (#139048) 2023-11-28 23:40:28 +00:00
tracing_tests Pin package:web 0.4.0 (#138428) 2023-11-15 15:03:21 -08:00
analysis_options.yaml Enable more lints (#91642) 2021-10-14 22:03:03 -07:00
README.md

This directory contains tools and resources that the Flutter team uses during the development of the framework. The tools in this directory should not be necessary for developing Flutter applications, though of course, they may be interesting if you are curious.

The tests in this directory are run in the framework_tests_misc-* shards.