flutter_stetho icon indicating copy to clipboard operation
flutter_stetho copied to clipboard

It looks like it's not compatible with flutter 2.0

Open wish32 opened this issue 4 years ago • 3 comments

`Launching lib\main.dart on BKL AL20 in debug mode... ../flutter2.0.0/.pub-cache/hosted/pub.flutter-io.cn/flutter_stetho-0.5.2/lib/src/http_client_request.dart:10:7: Error: The non-abstract class 'StethoHttpClientRequest' is missing implementations for these members:

  • HttpClientRequest.abort 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 StethoHttpClientRequest implements HttpClientRequest { ^^^^^^^^^^^^^^^^^^^^^^^ org-dartlang-sdk:///third_party/dart/sdk/lib/_http/http.dart:2053:8: Context: 'HttpClientRequest.abort' is defined here. void abort([Object? exception, StackTrace? stackTrace]); ^^^^^

FAILURE: Build failed with an exception.

  • Where: Script 'C:\www\flutter\flutter2.0.0\packages\flutter_tools\gradle\flutter.gradle' line: 991

  • What went wrong: Execution failed for task ':app:compileFlutterBuildDebug'.

Process 'command 'C:\www\flutter\flutter2.0.0\bin\flutter.bat'' finished with non-zero exit value 1

  • Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

  • Get more help at https://help.gradle.org

BUILD FAILED in 1m 8s Exception: Gradle task assembleDebug failed with exit code 1 Exited (sigterm) `

wish32 avatar Mar 19 '21 09:03 wish32

Guys, Stetho project is abandoned by Facebook, because Facebook created alternative Flipper. Use it instead.

comm1x avatar Apr 08 '21 23:04 comm1x

https://github.com/irdevp/flutter_stetho

irdevp avatar May 16 '21 05:05 irdevp

https://github.com/tarunkhatri/flutter_stetho

Use this for null safe

tarunkhatri avatar Jan 18 '22 06:01 tarunkhatri