Hi, I am trying to run the package, but I couldn't do it.
It is not working on my project, and I tried to run the Flutter example that is in the repo. I get the following errors.
The package is activated globally. I don't know if I am doing something wrong.
The dart version is working.
../../../../../../Developer/flutter/packages/flutter/lib/src/foundation/memory_allocations.dart:309:15: Error: Undefined name 'Picture'.
assert(ui.Picture.onDispose == _pictureOnDispose);
^^^^^^^
../../../../../../Developer/flutter/packages/flutter/lib/src/foundation/memory_allocations.dart:310:8: Error: Undefined name 'Image'.
ui.Image.onCreate = null;
^^^^^
../../../../../../Developer/flutter/packages/flutter/lib/src/foundation/memory_allocations.dart:311:8: Error: Undefined name 'Image'.
ui.Image.onDispose = null;
^^^^^
../../../../../../Developer/flutter/packages/flutter/lib/src/foundation/memory_allocations.dart:312:8: Error: Undefined name 'Picture'.
ui.Picture.onCreate = null;
^^^^^^^
../../../../../../Developer/flutter/packages/flutter/lib/src/foundation/memory_allocations.dart:313:8: Error: Undefined name 'Picture'.
ui.Picture.onDispose = null;
^^^^^^^
../../../../../../Developer/flutter/packages/flutter/lib/src/foundation/memory_allocations.dart:316:26: Error: 'Image' isn't a type.
void _imageOnCreate(ui.Image image) {
^^^^^
../../../../../../Developer/flutter/packages/flutter/lib/src/foundation/memory_allocations.dart:318:63: Error: Undefined name 'Image'.
ObjectCreated(library: _dartUiLibrary, className: '${ui.Image}', object: image),
^^^^^
../../../../../../Developer/flutter/packages/flutter/lib/src/foundation/memory_allocations.dart:322:28: Error: 'Picture' isn't a type.
void _pictureOnCreate(ui.Picture picture) {
^^^^^^^
../../../../../../Developer/flutter/packages/flutter/lib/src/foundation/memory_allocations.dart:324:63: Error: Undefined name 'Picture'.
ObjectCreated(library: _dartUiLibrary, className: '${ui.Picture}', object: picture),
^^^^^^^
../../../../../../Developer/flutter/packages/flutter/lib/src/foundation/memory_allocations.dart:328:27: Error: 'Image' isn't a type.
void _imageOnDispose(ui.Image image) {
^^^^^
../../../../../../Developer/flutter/packages/flutter/lib/src/foundation/memory_allocations.dart:332:29: Error: 'Picture' isn't a type.
void _pictureOnDispose(ui.Picture picture) {
^^^^^^^
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 3.41.8, on macOS 26.4.1 25E253 darwin-arm64, locale en-TR)
[✓] Android toolchain - develop for Android devices (Android SDK version 35.0.0)
[✓] Xcode - develop for iOS and macOS (Xcode 26.4.1)
[✓] Chrome - develop for the web
[✓] Connected device (3 available)
[✓] Network resources
Hi, I am trying to run the package, but I couldn't do it.
It is not working on my project, and I tried to run the Flutter example that is in the repo. I get the following errors.
The package is activated globally. I don't know if I am doing something wrong.
The dart version is working.