flutter_stetho
flutter_stetho copied to clipboard
It looks like it's not compatible with flutter 2.0
`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) `
Guys, Stetho project is abandoned by Facebook, because Facebook created alternative Flipper. Use it instead.
https://github.com/irdevp/flutter_stetho
https://github.com/tarunkhatri/flutter_stetho
Use this for null safe