Closed tungvt80 closed 1 year ago
@tungvt80 What version of the flutter are you using? This issue was fixed in Dart in January. https://github.com/dart-lang/sdk/commit/49c7d930425b695d577802121f83a0bc77b39ef3
I'm fix: fluter downgrade Flutter 3.7.12 is Work
@tungvt80 I have installed 3.10.0 on my local machine however I am unable to launch the debugger in Android Studio. So I reverted to 3.7 as well.
flutter downgrade 3.7.12 flutter --version
@tungvt80
I published my changes https://pub.dev/packages/nats_client/versions/2.2.0
Supports Dart 3.0.0
Error (Xcode): ../../.pub-cache/hosted/pub.dev/nats_client-2.1.1/lib/natslite/transport.dart:331:13: Error: A 'continue' label must be on a loop or a switch member.