Skip to content

Migrate @FfiNative annotations to @Native #118794

@dcharkes

Description

@dcharkes

We have deprecated @FfiNative and introduced @Native annotations in Dart.

This has made the Flutter engine build fail:

https://logs.chromium.org/logs/flutter/buildbucket/cr-buildbucket/8791539566248935361/+/u/analyze_dart_ui/stdout

 info - compositing.dart:37:4 - 'FfiNative' is deprecated and shouldn't be used. Use Native instead. Try replacing the use of the deprecated member with the replacement. - deprecated_member_use
...

We can either:

a. Fix forward and land the migration in the engine, or
b. remove the deprecated annotation in the Dart SDK for now, and then do (a) with a bit more peace, or
c. revert the whole change in the Dart SDK (that's probably a bit too much).

Metadata

Metadata

Assignees

Labels

P1High-priority issues at the top of the work listdependency: dartDart team may need to help usengineflutter/engine related. See also e: labels.waiting for PR to land (fixed)A fix is in flight

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions