zwap_utils 0.0.64 copy "zwap_utils: ^0.0.64" to clipboard
zwap_utils: ^0.0.64 copied to clipboard

A Flutter library to handle Util functions in any Zwap projects

0
likes
100/ 140
pub points
35%
popularity

We analyzed this package 7 days ago, and awarded it 100 pub points (of a possible 140):

OK
Follow Dart file conventions
30 / 30trigger folding of the section

10/10 points: Provide a valid pubspec.yaml

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.

failed
Provide documentation
10 / 20trigger folding of the section

10/10 points: 20% or more of the public API has dartdoc comments

113 out of 126 API elements (89.7 %) have documentation comments.

Some symbols that are missing documentation: apiService.ApiService.logLevel, apiService.ApiService.ApiService.mock, apiService.ApiService.mockClient, apiService.ApiService.setMockClient, apiService.ApiServiceLogLevel.

0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

OK
Platform support
20 / 20trigger folding of the section

20/20 points: Supports 5 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

  • ✓ Android
  • ✓ iOS
  • ✓ Windows
  • ✓ Linux
  • ✓ macOS

These platforms are not supported:

Package not compatible with platform Web

Because:

  • package:zwap_utils/zwap_utils.dart that imports:
  • package:zwap_utils/zwap_utils/api/apiService.dart that imports:
  • dart:io
failed
Pass static analysis
30 / 50trigger folding of the section

30/50 points: code has no errors, warnings, lints, or formatting issues

Found 32 issues. Showing the first 2:

WARNING: Unused import: 'package:http/testing.dart'.

lib/zwap_utils/api/apiService.dart:8:8

  ╷
8 │ import 'package:http/testing.dart';
  │        ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/zwap_utils/api/apiService.dart

WARNING: This function has a nullable return type of 'String?', but ends without returning a value.

lib/zwap_utils/web/currentState.dart:26:11

   ╷
26 │   String? findSubDomain(String protocol, String currentDomain) {
   │           ^^^^^^^^^^^^^
   ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/zwap_utils/web/currentState.dart

failed
Support up-to-date dependencies
10 / 20trigger folding of the section

0/10 points: All of the package dependencies are supported in the latest version

Package Constraint Compatible Latest
flutter flutter 0.0.0 0.0.0
flutter_web_plugins flutter 0.0.0 0.0.0
get_it ^7.1.3 7.7.0 7.7.0
http ^0.13.3 0.13.6 1.2.1
quiver ^3.0.1 3.2.1 3.2.1
Transitive dependencies
Package Constraint Compatible Latest
async - 2.11.0 2.11.0
boolean_selector - 2.1.1 2.1.1
characters - 1.3.0 1.3.0
collection - 1.18.0 1.18.0
http_parser - 4.0.2 4.0.2
matcher - 0.12.16+1 0.12.16+1
material_color_utilities - 0.8.0 0.11.1
meta - 1.11.0 1.14.0
path - 1.9.0 1.9.0
sky_engine - 0.0.99 0.0.99
source_span - 1.10.0 1.10.0
stack_trace - 1.11.1 1.11.1
stream_channel - 2.1.2 2.1.2
string_scanner - 1.2.0 1.2.0
term_glyph - 1.2.1 1.2.1
test_api - 0.7.0 0.7.1
typed_data - 1.3.2 1.3.2
vector_math - 2.1.4 2.1.4

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

The constraint `^0.13.3` on http does not support the stable version `1.0.0`.

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

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

Analyzed with Pana 0.22.3, Flutter 3.19.5, Dart 3.3.3.

Check the analysis log for details.

0
likes
100
pub points
35%
popularity

Publisher

unverified uploader

A Flutter library to handle Util functions in any Zwap projects

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

flutter, flutter_web_plugins, get_it, http, quiver

More

Packages that depend on zwap_utils