agent_dart_auth 0.0.2 copy "agent_dart_auth: ^0.0.2" to clipboard
agent_dart_auth: ^0.0.2 copied to clipboard

A new flutter plugin project.

0
likes
110/ 160
pub points
53
downloads

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

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.

Failed to verify repository URL.

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: agent_dart_auth,
    • contains a version property, and,
    • does not contain a publish_to property.

Repository has no matching pubspec.yaml with name: agent_dart_auth.

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.

partial
Provide documentation
10 / 20trigger folding of the section

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

0 out of 23 API elements (0.0 %) have documentation comments.

Providing good documentation for libraries, classes, functions, and other API elements improves code readability and helps developers find and use your API. Document at least 20% of the public API elements.

To highlight public API members missing documentation consider enabling the public_member_api_docs lint.

Some symbols that are missing documentation: webauth_provider, webauth_provider.WebAuthProvider, webauth_provider.WebAuthProvider.WebAuthProvider, webauth_provider.WebAuthProvider.authFunction, webauth_provider.WebAuthProvider.authUri.

10/10 points: Package has an example

failed
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 does not support platform `Web`.

Because:

  • package:agent_dart_auth/agent_dart_auth.dart that declares support for platforms: Android, iOS, Windows, Linux, macOS.

These issues are present but do not affect the score, because they may not originate in your package:

Package does not support platform `Windows`.

Because:

  • package:agent_dart_auth/agent_dart_auth.dart that imports:
  • package:flutter_web_auth/flutter_web_auth.dart that declares support for platforms: Android, iOS, macOS, Web.
Package does not support platform `Linux`.

Because:

  • package:agent_dart_auth/agent_dart_auth.dart that imports:
  • package:flutter_web_auth/flutter_web_auth.dart that declares support for platforms: Android, iOS, macOS, Web.

0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:agent_dart_auth/agent_dart_auth.dart that imports:
  • package:agent_dart/identity/ed25519.dart that imports:
  • package:agent_dart/agent/auth.dart that imports:
  • package:agent_dart/agent/request_id.dart that imports:
  • package:agent_dart/agent/agent/index.dart that imports:
  • package:agent_dart/agent/agent/http/index.dart that imports:
  • package:agent_dart/agent_dart.dart that imports:
  • package:agent_dart/archiver/archiver.dart that imports:
  • package:agent_dart/archiver/signing_block.dart that imports:
  • package:archive/archive_io.dart that imports:
  • package:archive/src/io/zip_file_encoder.dart that imports:
  • package:archive/src/io/output_file_stream.dart that imports:
  • package:archive/src/io/file_handle.dart that imports:
  • dart:io

This package is not compatible with runtime wasm, and will not be rewarded full points in a future version of the scoring model.

See https://dart.dev/web/wasm for details.

0/0 points: Swift Package Manager support

Package does not support the Swift Package Manager on macOS

It does not contain macos/agent_dart_auth/Package.swift.

This package for iOS or macOS does not support the Swift Package Manager. It will not receive full points in a future version of the scoring model.

See https://docs.flutter.dev/to/spm for details.

failed
Pass static analysis
30 / 50trigger folding of the section

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

Found 3 issues. Showing the first 2:

WARNING: Unused import: 'dart:typed_data'.

lib/agent_dart_auth.dart:4:8

  ╷
4 │ import 'dart:typed_data';
  │        ^^^^^^^^^^^^^^^^^
  ╵

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

INFO: The part-of directive uses a library name.

lib/webauth_provider.dart:1:1

  ╷
1 │ part of webauth_provider;
  │ ^^^^^^^^^^^^^^^^^^^^^^^^^
  ╵

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

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

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

Package Constraint Compatible Latest
agent_dart >=0.1.13 <1.0.0 0.1.24+1 0.1.24+1
flutter flutter 0.0.0 0.0.0
flutter_web_auth ^0.3.0 0.3.2 0.6.0
Transitive dependencies
Package Constraint Compatible Latest
archive - 3.6.1 4.0.2
args - 2.6.0 2.6.0
async - 2.12.0 2.12.0
basic_utils - 4.5.2 5.7.0
bip32 - 2.0.0 2.0.0
bip39 - 1.0.6 1.0.6
bs58check - 1.0.2 1.0.2
cbor - 4.1.0 6.3.3
characters - 1.3.0 1.4.0
collection - 1.19.0 1.19.1
convert - 3.1.2 3.1.2
crypto - 3.0.6 3.0.6
ffi - 1.2.1 2.1.3
fixnum - 1.1.1 1.1.1
flutter_web_plugins - 0.0.0 0.0.0
hex - 0.2.0 0.2.0
http - 0.13.6 1.2.2
http_parser - 4.1.1 4.1.1
js - 0.6.7 0.7.1
json_annotation - 4.9.0 4.9.0
logging - 1.3.0 1.3.0
material_color_utilities - 0.11.1 0.12.0
meta - 1.15.0 1.16.0
path - 1.9.1 1.9.1
pinenacl - 0.3.4 0.6.0
pointycastle - 3.9.1 3.9.1
protobuf - 2.1.0 3.1.0
recase - 4.1.0 4.1.0
sky_engine - 0.0.0 0.0.0
source_span - 1.10.1 1.10.1
string_scanner - 1.4.1 1.4.1
term_glyph - 1.2.2 1.2.2
tuple - 2.0.2 2.0.2
typed_data - 1.4.0 1.4.0
uuid - 3.0.7 4.5.1
validators - 3.0.0 3.0.0
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.3.0` on flutter_web_auth does not support the stable version `0.4.0`.

Try running dart pub upgrade --major-versions flutter_web_auth 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.22.17, Flutter 3.27.0, Dart 3.6.0.

Check the analysis log for details.