mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
Classes that model enums in dart:ui typically name fields modelling the enum values as `_kFooIndex`. This associated value matches the enum value from embedder.h. In https://github.com/flutter/engine/pull/32408 we add a test that verifies that dart:ui classes model the same set of values in the native implementation, the web_ui implementation, and the embedder API. Testing this is much simpler if we use consistent naming for all enum values. Issue: https://github.com/flutter/engine/pull/32408