flutter_eval icon indicating copy to clipboard operation
flutter_eval copied to clipboard

Errors when upgarding to Flutter 3.27

Open JeffOlajos opened this issue 11 months ago • 4 comments

I get several flutter_eval errors when upgrading to the latest flutter realese in the stable channel. Color methods not defined and open_fileX.

JeffOlajos avatar Dec 20 '24 21:12 JeffOlajos

+1

Praveen-Pandiyan avatar Jan 03 '25 05:01 Praveen-Pandiyan

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

tusharsainx avatar Feb 11 '25 08:02 tusharsainx

See #96.

Zverik avatar Apr 03 '25 07:04 Zverik

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.

Zverik avatar Apr 04 '25 12:04 Zverik

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.

Delthoid avatar Apr 29 '25 08:04 Delthoid

Has been fixed

ethanblake4 avatar Jul 20 '25 23:07 ethanblake4