netwolf 0.2.0 copy "netwolf: ^0.2.0" to clipboard
netwolf: ^0.2.0 copied to clipboard

outdated

Inspired by Netfox on iOS. Netwolf allows for easy debugging of network requests made in your app via the use of interceptors.

70/ 160
pub points
7
downloads

We analyzed this package 6 days ago, and awarded it 70 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

Failed to verify repository URL.

netwolf/pubspec.yaml from the repository has a repository or homepage field "https://github.com/pongloongyeat/netwolf/netwolf" but cannot be parsed as a repository URL: Invalid repository URL: Could not recognize URL segments: /pongloongyeat/netwolf/netwolf. Please report at pana.

Please provide a valid repository URL in pubspec.yaml, such that:

  • repository can be cloned,
  • a clone of the repository contains a pubspec.yaml, which:,
    • contains name: netwolf,
    • contains a version property, and,
    • does not contain a publish_to property.

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

19 out of 46 API elements (41.3 %) have documentation comments.

Some symbols that are missing documentation: netwolf, netwolf.HttpRequestMethod, netwolf.HttpRequestMethod.tryParse, netwolf.HttpResponseStatus, netwolf.HttpResponseStatus.fromResponseCode.

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 2 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

  • ✓ Android

  • ✓ iOS

These platforms are not supported:

Package does not support platform `Windows`.

Because:

  • package:netwolf/netwolf.dart that imports:
  • package:netwolf/src/netwolf_widget.dart that imports:
  • package:shake/shake.dart that imports:
  • package:sensors_plus/sensors_plus.dart that declares support for platforms: Android, iOS, Web.
Package does not support platform `Linux`.

Because:

  • package:netwolf/netwolf.dart that imports:
  • package:netwolf/src/netwolf_widget.dart that imports:
  • package:shake/shake.dart that imports:
  • package:sensors_plus/sensors_plus.dart that declares support for platforms: Android, iOS, Web.
Package does not support platform `macOS`.

Because:

  • package:netwolf/netwolf.dart that imports:
  • package:netwolf/src/netwolf_widget.dart that imports:
  • package:shake/shake.dart that imports:
  • package:sensors_plus/sensors_plus.dart that declares support for platforms: Android, iOS, Web.
Package not compatible with platform Web

Because:

  • package:netwolf/netwolf.dart that imports:
  • package:netwolf/src/netwolf_widget.dart that imports:
  • package:netwolf/src/widgets/widgets.dart that imports:
  • package:netwolf/src/widgets/netwolf_app_bar.dart that imports:
  • dart:io
Failed report section
Pass static analysis
0 / 50trigger folding of the section

Failed check 0/50 points: code has no errors, warnings, lints, or formatting issues

Found 6 issues. Showing the first 2:

ERROR: The class 'PreferredSizeWidget' can't be used as a mixin because it's neither a mixin class nor a mixin.

lib/src/widgets/netwolf_app_bar.dart:5:50

  ╷
5 │ class NetwolfAppBar extends StatelessWidget with PreferredSizeWidget {
  │                                                  ^^^^^^^^^^^^^^^^^^^
  ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/src/widgets/netwolf_app_bar.dart

INFO: 'MaterialStateProperty' is deprecated and shouldn't be used. Use WidgetStateProperty instead. Moved to the Widgets layer to make code available outside of Material. This feature was deprecated after v3.19.0-0.3.pre.

lib/src/dialogs/filter_dialog.dart:70:30

   ╷
70 │             backgroundColor: MaterialStateProperty.all(kDestructiveColor),
   │                              ^^^^^^^^^^^^^^^^^^^^^
   ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/src/dialogs/filter_dialog.dart

Failed report section
Support up-to-date dependencies
10 / 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.16.0 1.19.1 1.19.1
dio ^4.0.6 4.0.6 5.9.0
extended_text ^9.1.2 9.1.2 15.0.2
notification_dispatcher ^0.2.0 0.2.1 0.4.0
shake ^2.2.0 2.2.0 3.0.0
Transitive dependencies
Package Constraint Compatible Latest Notes
characters - 1.4.0 1.4.1
extended_text_library - 9.1.1 12.0.1
http_parser - 4.1.2 4.1.2
logging - 1.3.0 1.3.0
material_color_utilities - 0.11.1 0.13.0
meta - 1.17.0 1.17.0
path - 1.9.1 1.9.1
plugin_platform_interface - 2.1.8 2.1.8
sensors_plus - 1.4.1 7.0.0
sensors_plus_platform_interface - 1.2.0 2.0.1
sensors_plus_web - 1.1.2 1.1.2 Discontinued
source_span - 1.10.1 1.10.1
string_scanner - 1.4.1 1.4.1
term_glyph - 1.2.2 1.2.2
typed_data - 1.4.0 1.4.0
vector_math - 2.2.0 2.2.0

To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.

Found 4 issues. Showing the first 2:

The constraint `^4.0.6` on dio does not support the stable version `5.0.0`.

Try running dart pub upgrade --major-versions dio to update the constraint.

The constraint `^9.1.2` on extended_text does not support the stable version `10.0.0`.

Try running dart pub upgrade --major-versions extended_text to update the constraint.

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

Failed check 0/20 points: Compatible with dependency constraint lower bounds

downgrade analysis failed failed with 1 error:

  • CLASS_USED_AS_MIXIN - lib/src/widgets/netwolf_app_bar.dart:5:50 - The class 'PreferredSizeWidget' can't be used as a mixin because it's neither a mixin class nor a mixin.

Run flutter pub downgrade and then flutter analyze to reproduce the above problem.

You may run dart pub upgrade --tighten to update your dependency constraints, see dart.dev/go/downgrade-testing for details.

Analyzed with Pana 0.23.5, Flutter 3.38.5, Dart 3.10.4.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
2
likes
70
points
7
downloads

Publisher

unverified uploader

Weekly Downloads

Inspired by Netfox on iOS. Netwolf allows for easy debugging of network requests made in your app via the use of interceptors.

Documentation

API reference

License

MIT (license)

Dependencies

collection, dio, extended_text, flutter, notification_dispatcher, shake

More

Packages that depend on netwolf