mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
New feature in upcoming Dart 3.2. See https://github.com/dart-lang/language/issues/2020. Feature is enabled by bumping the min SDK version to 3.2. Part of https://github.com/flutter/flutter/issues/134476.
API consistency check tool
Verifies that enums in each of the platform-specific embedders, and the embedder API remain consistent with their API in dart:ui.
Running the tool
This tool is run as part of testing/run_tests.sh.
To run the tool, invoke with the path of the Flutter engine repo as the first argument.
../../../out/host_debug_unopt/dart-sdk/bin/dart \
--disable-dart-dev \
test/apicheck_test.dart \
"$(dirname $(dirname $PWD))"