sw_auth 0.5.2 copy "sw_auth: ^0.5.2" to clipboard
sw_auth: ^0.5.2 copied to clipboard

Spinwheel Auth Package

1
likes
90/ 140
pub points
0%
popularity

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

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

0/10 points: Provide a valid pubspec.yaml

The package description is too short.

Add more detail to the description field of pubspec.yaml. Use 60 to 180 characters to describe the package, what it does, and its target use case.

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: BSD-3-Clause.

failed
Provide documentation
10 / 20trigger folding of the section

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

29 out of 103 API elements (28.2 %) have documentation comments.

Some symbols that are missing documentation: endpoint_auth, endpoint_auth.EndpointAuth, endpoint_auth.EndpointAuth.EndpointAuth, endpoint_auth.EndpointAuth.getUser, endpoint_auth.EndpointAuth.requestAuth.

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 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:sw_auth/sw_init_auth.dart that imports:
  • package:sw_core/sw_init_core.dart that imports:
  • package:sw_core/analytics/analytics.dart that imports:
  • package:mixpanel_flutter/mixpanel_flutter.dart that declares support for platforms: Android, iOS, Web.
Package does not support platform `Linux`.

Because:

  • package:sw_auth/sw_init_auth.dart that imports:
  • package:sw_core/sw_init_core.dart that imports:
  • package:sw_core/analytics/analytics.dart that imports:
  • package:mixpanel_flutter/mixpanel_flutter.dart that declares support for platforms: Android, iOS, Web.
Package does not support platform `macOS`.

Because:

  • package:sw_auth/sw_init_auth.dart that imports:
  • package:sw_core/sw_init_core.dart that imports:
  • package:sw_core/analytics/analytics.dart that imports:
  • package:mixpanel_flutter/mixpanel_flutter.dart that declares support for platforms: Android, iOS, Web.
Package not compatible with platform Web

Because:

  • package:sw_auth/endpoint/endpoint_auth.dart that imports:
  • package:sw_core/environment/sw_env.dart that imports:
  • package:sw_core/tool/log.dart that imports:
  • package:logger/logger.dart that imports:
  • package:logger/src/outputs/file_output_stub.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 8 issues. Showing the first 2:

WARNING: Unused import: 'package:sw_core/tool/data_path.dart'.

lib/sw_init_auth.dart:11:8

   ╷
11 │ import 'package:sw_core/tool/data_path.dart';
   │        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   ╵

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

lib/endpoint/endpoint_auth.g.dart doesn't match the Dart formatter.

To format your files run: dart format .

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
dio ^4.0.0 4.0.6 5.4.3+1
dio_cache_interceptor ^3.0.1 3.4.2 3.5.0
flutter flutter 0.0.0 0.0.0
get ^4.6.1 4.6.6 4.6.6
retrofit ^2.0.0 2.2.0 4.1.0
sw_core ^0.5.2 0.5.2 0.5.2
Transitive dependencies
Package Constraint Compatible Latest
args - 2.5.0 2.5.0
async - 2.11.0 2.11.0
boolean_selector - 2.1.1 2.1.1
characters - 1.3.0 1.3.0
clock - 1.1.1 1.1.1
collection - 1.18.0 1.18.0
crypto - 3.0.3 3.0.3
flutter_web_plugins - 0.0.0 0.0.0
http - 1.2.1 1.2.1
http_parser - 4.0.2 4.0.2
injector - 2.0.0 3.0.0
intl - 0.18.1 0.19.0
js - 0.6.7 0.7.1
json_class - 2.2.2+1 3.0.0+13
json_schema2 - 2.0.4+9 5.1.3
json_theme - 3.2.0 6.4.1+5
jwt_decode - 0.3.1 0.3.1
logger - 1.4.0 2.2.0
logging - 1.2.0 1.2.0
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
mixpanel_flutter - 1.6.0 2.3.1
path - 1.9.0 1.9.0
plugin_platform_interface - 2.1.8 2.1.8
quiver - 3.2.1 3.2.1
rest_client - 2.2.3+2 2.4.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
uri - 1.0.0 1.0.0
url_launcher - 6.2.6 6.2.6
url_launcher_android - 6.3.1 6.3.1
url_launcher_ios - 6.2.5 6.2.5
url_launcher_linux - 3.1.1 3.1.1
url_launcher_macos - 3.1.0 3.1.0
url_launcher_platform_interface - 2.3.2 2.3.2
url_launcher_web - 2.3.1 2.3.1
url_launcher_windows - 3.1.1 3.1.1
uuid - 3.0.7 4.4.0
vector_math - 2.1.4 2.1.4
web - 0.5.1 0.5.1
yaml - 3.1.2 3.1.2
yaon - 1.1.4+8 1.1.4+8

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

The constraint `^4.0.0` 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 `^2.0.0` on retrofit does not support the stable version `3.0.0`.

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

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

Analyzed with Pana 0.22.3, Flutter 3.19.6, Dart 3.3.4.

Check the analysis log for details.

1
likes
90
pub points
0%
popularity

Publisher

verified publisherspinwheel.io

Spinwheel Auth Package

Homepage

Documentation

API reference

License

BSD-3-Clause (LICENSE)

Dependencies

dio, dio_cache_interceptor, flutter, get, retrofit, sw_core

More

Packages that depend on sw_auth