flutter_eval
flutter_eval copied to clipboard
Errors when upgarding to Flutter 3.27
I get several flutter_eval errors when upgrading to the latest flutter realese in the stable channel. Color methods not defined and open_fileX.
+1
yes, similar happening to dart_eval. Unable to compile the hot update patch Here is the link to an opened issue. https://github.com/ethanblake4/dart_eval/issues/226
See #96.
For a quick solution, you can add an override to pubspec.yaml:
dependency_overrides:
flutter_eval:
git:
url: https://github.com/Zverik/flutter_eval.git
ref: flutter_3_27
There is a chance I'll take over both dart_eval and flutter_eval in my own namespace, if the maintainer doesn't show up. I'm planning to use it in a pretty big project.
Hi @Zverik, thanks for this. I'm using your fork and still getting an error. Im using Flutter 3.29
../../../../AppData/Local/Pub/Cache/git/flutter_eval-4c367912a9b56c494cad4f410160887290f08455/lib/src/sky_engine/ui/painting.dart:7:7: Error: The non-abstract class '$Color' is missing implementations for these members:
- Color.toARGB32
Try to either
- provide an implementation,
- inherit an implementation from a superclass or mixin,
- mark the class as abstract, or
- provide a 'noSuchMethod' implementation.
class $Color implements Color, $Instance {
^^^^^^
org-dartlang-sdk:///lib/ui/painting.dart: Context: 'Color.toARGB32' is defined here.
Failed to compile application.
Has been fixed