netra_flutter 1.0.4
netra_flutter: ^1.0.4 copied to clipboard
A Flutter networking plugin with offline queueing, slow network strategies, smart caching, circuit breaker, multipart uploads, and event-driven observability. Built on top of OkHttp via a native Andro [...]
We analyzed this package 2 hours ago, and awarded it 130 pub points (of a possible 160):
0/10 points: Provide a valid pubspec.yaml
The package description is too long.
Search engines display only the first part of the description. Try to keep the value of the description field in your package's pubspec.yaml file between 60 and 180 characters.
5/5 points: Provide a valid README.md
5/5 points: Provide a valid CHANGELOG.md
10/10 points: Use an OSI-approved license
Detected license: MIT.
10/10 points: 20% or more of the public API has dartdoc comments
94 out of 461 API elements (20.4 %) have documentation comments.
Some symbols that are missing documentation: base_platform_exception, base_platform_exception.BasePlatformException, base_platform_exception.BasePlatformException.BasePlatformException.new, base_platform_exception.BasePlatformException.code, base_platform_exception.BasePlatformException.message.
10/10 points: Package has an example
20/20 points: Supports 1 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
SDK issues found:
Package is not compatible with the Flutter SDK.
Package is not compatible with the Flutter SDK. Because:
package:netra_flutter/pigeons/netra_host_api.dartthat imports:package:pigeon/pigeon.dartthat imports:package:pigeon/src/swift/swift_generator.dartthat imports:package:pigeon/src/swift/templates.dartthat imports:package:pigeon/src/generator_tools.dartthat imports:package:pigeon/src/generator.dartthat imports:package:pigeon/src/ast.dartthat imports:package:pigeon/src/pigeon_lib.dartthat imports:dart:mirrors
- ✓ Android
These platforms are not supported:
Package does not support platform `iOS`.
Because:
package:netra_flutter/common/controllers/netra_controller.dartthat declares support for platforms:Android.
Package does not support platform `Windows`.
Because:
package:netra_flutter/common/controllers/netra_controller.dartthat declares support for platforms:Android.
Package does not support platform `Linux`.
Because:
package:netra_flutter/common/controllers/netra_controller.dartthat declares support for platforms:Android.
Package does not support platform `macOS`.
Because:
package:netra_flutter/common/controllers/netra_controller.dartthat declares support for platforms:Android.
Package does not support platform `Web`.
Because:
package:netra_flutter/common/controllers/netra_controller.dartthat declares support for platforms:Android.
These issues are present but do not affect the score, because they may not originate in your package:
Package not compatible with platform Android
Because:
package:netra_flutter/pigeons/netra_host_api.dartthat imports:package:pigeon/pigeon.dartthat imports:package:pigeon/src/swift/swift_generator.dartthat imports:package:pigeon/src/swift/templates.dartthat imports:package:pigeon/src/generator_tools.dartthat imports:package:pigeon/src/generator.dartthat imports:package:pigeon/src/ast.dartthat imports:package:pigeon/src/pigeon_lib.dartthat imports:dart:mirrors
Built-in Kotlin support:
Legacy Kotlin configuration detected in `android/build.gradle`.
This plugin applies the Kotlin Gradle Plugin (KGP) or uses the android.kotlinOptions{} block.
Note: This Android plugin does not support built-in Kotlin. In the future, this might affect scoring. See https://docs.flutter.dev/release/breaking-changes/migrate-to-built-in-kotlin/for-plugin-authors for details.
40/50 points: code has no errors, warnings, lints, or formatting issues
Found 9 issues. Showing the first 2:
INFO: The local variable '_circuitBreakerOptions' starts with an underscore.
lib/common/controllers/netra_controller.dart:27:11
╷
27 │ var _circuitBreakerOptions = circuitBreakerOptions != null
│ ^^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/common/controllers/netra_controller.dart
INFO: The local variable '_requestOptions' starts with an underscore.
lib/common/controllers/netra_controller.dart:50:11
╷
50 │ var _requestOptions = jsonEncode(
│ ^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/common/controllers/netra_controller.dart
0/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
collection |
^1.19.1 |
1.19.1 | 1.19.1 | |
freezed_annotation |
^3.1.0 |
3.1.0 | 3.1.0 | |
json_annotation |
^4.11.0 |
4.12.0 | 4.12.0 | |
meta |
^1.18.0 |
1.19.0 | 1.19.0 | |
pigeon |
^26.3.4 |
26.3.4 | 29.0.11 | |
plugin_platform_interface |
^2.0.2 |
2.1.8 | 2.1.8 | |
uuid |
^4.5.3 |
4.6.0 | 4.6.0 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
_fe_analyzer_shared |
- | 99.0.0 | 110.0.0 | |
analyzer |
- | 12.1.0 | 14.6.0 | |
args |
- | 2.7.0 | 2.7.0 | |
async |
- | 2.13.1 | 2.13.1 | |
boolean_selector |
- | 2.1.2 | 2.1.2 | |
built_collection |
- | 5.1.2 | 6.0.0 | |
built_value |
- | 8.13.0 | 8.13.0 | |
characters |
- | 1.4.1 | 1.4.1 | |
code_builder |
- | 4.13.0 | 4.13.0 | |
convert |
- | 3.1.2 | 3.1.2 | |
crypto |
- | 3.0.8 | 3.0.8 | |
dart_style |
- | 3.1.8 | 3.1.14 | |
file |
- | 7.0.1 | 7.0.1 | |
fixnum |
- | 1.1.1 | 1.1.1 | |
glob |
- | 2.2.0 | 2.2.0 | |
graphs |
- | 2.3.2 | 2.3.2 | |
matcher |
- | 0.12.20 | 0.12.20 | |
material_color_utilities |
- | 0.13.0 | 0.13.1 | |
package_config |
- | 2.2.0 | 3.0.0 | |
path |
- | 1.9.1 | 1.9.1 | |
pub_semver |
- | 2.2.1 | 2.2.1 | |
source_span |
- | 1.10.2 | 1.10.2 | |
stack_trace |
- | 1.12.2 | 1.12.2 | |
stream_channel |
- | 2.1.4 | 2.1.4 | |
string_scanner |
- | 1.4.1 | 1.4.1 | |
term_glyph |
- | 1.2.2 | 1.2.2 | |
test_api |
- | 0.7.15 | 0.7.15 | |
typed_data |
- | 1.4.0 | 1.4.0 | |
vector_math |
- | 2.4.4 | 2.4.4 | |
watcher |
- | 1.2.1 | 1.2.1 | |
yaml |
- | 3.1.4 | 3.1.4 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
The constraint `^26.3.4` on pigeon does not support the stable version `27.0.0`.
Try running dart pub upgrade --major-versions pigeon to update the constraint.
10/10 points: Package supports latest stable Dart and Flutter SDKs
20/20 points: Compatible with dependency constraint lower bounds
pub downgrade does not expose any static analysis error.
Analyzed with Pana 0.23.19, Flutter 3.47.7, Dart 3.13.5.
Check the analysis log for details.