Skip to main content

netra_flutter 1.0.4 copy "netra_flutter: ^1.0.4" to clipboard
netra_flutter: ^1.0.4 copied to clipboard

PlatformAndroid

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 [...]

130/ 160
pub points
375
downloads

We analyzed this package 2 hours ago, and awarded it 130 pub points (of a possible 160):

Failed report section
Follow Dart file conventions
20 / 30trigger folding of the section

Failed check 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.

Passed check 5/5 points: Provide a valid README.md

Passed check 5/5 points: Provide a valid CHANGELOG.md

Passed check 10/10 points: Use an OSI-approved license

Detected license: MIT.

Passed report section
Provide documentation
20 / 20trigger folding of the section

Passed check 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.

Passed check 10/10 points: Package has an example

Passed report section
Platform support
20 / 20trigger folding of the section

Passed check 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.dart that imports:
  • package:pigeon/pigeon.dart that imports:
  • package:pigeon/src/swift/swift_generator.dart that imports:
  • package:pigeon/src/swift/templates.dart that imports:
  • package:pigeon/src/generator_tools.dart that imports:
  • package:pigeon/src/generator.dart that imports:
  • package:pigeon/src/ast.dart that imports:
  • package:pigeon/src/pigeon_lib.dart that imports:
  • dart:mirrors
  • ✓ Android

These platforms are not supported:

Package does not support platform `iOS`.

Because:

  • package:netra_flutter/common/controllers/netra_controller.dart that declares support for platforms: Android.
Package does not support platform `Windows`.

Because:

  • package:netra_flutter/common/controllers/netra_controller.dart that declares support for platforms: Android.
Package does not support platform `Linux`.

Because:

  • package:netra_flutter/common/controllers/netra_controller.dart that declares support for platforms: Android.
Package does not support platform `macOS`.

Because:

  • package:netra_flutter/common/controllers/netra_controller.dart that declares support for platforms: Android.
Package does not support platform `Web`.

Because:

  • package:netra_flutter/common/controllers/netra_controller.dart that 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.dart that imports:
  • package:pigeon/pigeon.dart that imports:
  • package:pigeon/src/swift/swift_generator.dart that imports:
  • package:pigeon/src/swift/templates.dart that imports:
  • package:pigeon/src/generator_tools.dart that imports:
  • package:pigeon/src/generator.dart that imports:
  • package:pigeon/src/ast.dart that imports:
  • package:pigeon/src/pigeon_lib.dart that 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.

Partially passed report section
Pass static analysis
40 / 50trigger folding of the section

Partially passed check 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

Failed report section
Support up-to-date dependencies
30 / 40trigger folding of the section

Failed check 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.

Passed check 10/10 points: Package supports latest stable Dart and Flutter SDKs

Passed check 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.

Weekly downloads

Display as:
By versions:
2
likes
130
points
375
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

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 Android bridge.

Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

collection, flutter, freezed_annotation, json_annotation, meta, pigeon, plugin_platform_interface, uuid

More

Packages that depend on netra_flutter

Packages that implement netra_flutter