brianegan / brianegan/flutter_stetho
It looks like it's not compatible with flutter 2.0
- Dominant language
- Dart
- Stars
- 217
- Forks
- 63
- PR merge metrics
- No merged PRs in 30d
Description
`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)
`
Contributor guide
No contributing guide indexed for this repository
Research direction
Start with lib/src/http_client_request.dart, where StethoHttpClientRequest is reported as missing HttpClientRequest.abort. Check how the wrapper handles the other request methods, then verify that the package builds with Flutter 2.0 without the missing-implementation error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- dart, flutter
- Domain
- mobile
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100