cotter 0.2.0-nullsafety.2 copy "cotter: ^0.2.0-nullsafety.2" to clipboard
cotter: ^0.2.0-nullsafety.2 copied to clipboard

outdated

Flutter SDK for Cotter's Passwordless Authentication Service.

8
likes
60/ 140
pub points
33%
popularity

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

Homepage URL doesn't exist.

At the time of the analysis https://www.cotter.app was unreachable. Make sure that the website is reachable via HEAD requests.

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.

partial
Provide documentation
10 / 20trigger folding of the section

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

25 out of 151 API elements (16.6 %) 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.

Some symbols that are missing documentation: cotter, cotter.ACCESS_TOKEN_KEY, cotter.AuthRequestDuration, cotter.Cotter, cotter.Cotter.apiKeyID.

10/10 points: Package has 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:cotter/cotter.dart that imports:
  • package:cotter/src/tokens/cotterIDToken.dart that imports:
  • package:cotter/src/tokens/cotterJwtToken.dart that imports:
  • package:cotter/src/helper/jwt.dart that imports:
  • package:cotter/src/cotter.dart that imports:
  • package:cotter/src/models/user.dart that imports:
  • package:cotter/src/helper/storage.dart that imports:
  • package:flutter_secure_storage/flutter_secure_storage.dart that declares support for platforms: Android, iOS, Linux.
Package does not support platform `Linux`.

Because:

  • package:cotter/cotter.dart that imports:
  • package:cotter/src/tokens/cotterIDToken.dart that imports:
  • package:cotter/src/tokens/cotterJwtToken.dart that imports:
  • package:cotter/src/helper/jwt.dart that imports:
  • package:cotter/src/cotter.dart that imports:
  • package:cotter/src/models/user.dart that imports:
  • package:cotter/src/handlers/verify.dart that imports:
  • package:cotter/src/tokens/oAuthToken.dart that imports:
  • package:cotter/src/handlers/token.dart that imports:
  • package:cotter/src/api.dart that imports:
  • package:device_info/device_info.dart that declares support for platforms: Android, iOS.
Package does not support platform `macOS`.

Because:

  • package:cotter/cotter.dart that imports:
  • package:cotter/src/tokens/cotterIDToken.dart that imports:
  • package:cotter/src/tokens/cotterJwtToken.dart that imports:
  • package:cotter/src/helper/jwt.dart that imports:
  • package:cotter/src/cotter.dart that imports:
  • package:cotter/src/models/user.dart that imports:
  • package:cotter/src/helper/storage.dart that imports:
  • package:flutter_secure_storage/flutter_secure_storage.dart that declares support for platforms: Android, iOS, Linux.
Package does not support platform `Web`.

Because:

  • package:cotter/cotter.dart that imports:
  • package:cotter/src/tokens/cotterIDToken.dart that imports:
  • package:cotter/src/tokens/cotterJwtToken.dart that imports:
  • package:cotter/src/helper/jwt.dart that imports:
  • package:cotter/src/cotter.dart that imports:
  • package:cotter/src/models/user.dart that imports:
  • package:cotter/src/helper/storage.dart that imports:
  • package:flutter_secure_storage/flutter_secure_storage.dart that declares support for platforms: Android, iOS, Linux.
failed
Pass static analysis
0 / 50trigger folding of the section

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

Found 35 issues. Showing the first 2:

ERROR: The argument type 'Future

lib/src/helper/crypto.dart:38:18

   ╷
38 │       publicKey: Future.value(pubKey),
   │                  ^^^^^^^^^^^^^^^^^^^^
   ╵

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

ERROR: The method 'OutlineButton' isn't defined for the type 'ApproveRequestState'.

lib/src/widgets/approveRequest.dart:93:30

   ╷
93 │                       child: OutlineButton(
   │                              ^^^^^^^^^^^^^
   ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/src/widgets/approveRequest.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
async ^2.5.0 2.11.0 2.11.0
crypto ^3.0.0 3.0.3 3.0.3
cryptography ^2.0.1 2.7.0 2.7.0
device_info ^2.0.0 2.0.3 2.0.3
email_validator ^2.0.1 2.1.17 2.1.17
flutter flutter 0.0.0 0.0.0
flutter_secure_storage ^4.1.0 4.2.1 9.2.1
flutter_web_auth ^0.3.0 0.3.2 0.5.0
http ^0.13.1 0.13.6 1.2.1
jose ^0.3.0 0.3.4 0.3.4
meta ^1.3.0 1.12.0 1.15.0
Transitive dependencies
Package Constraint Compatible Latest
asn1lib - 1.5.3 1.5.3
boolean_selector - 2.1.1 2.1.1
characters - 1.3.0 1.3.0
collection - 1.18.0 1.18.0
convert - 3.1.1 3.1.1
crypto_keys - 0.3.0+1 0.3.0+1
device_info_platform_interface - 2.0.1 2.0.1
ffi - 2.1.2 2.1.2
flutter_web_plugins - 0.0.0 0.0.0
http_parser - 4.0.2 4.0.2
js - 0.6.7 0.7.1
matcher - 0.12.16+1 0.12.16+1
material_color_utilities - 0.8.0 0.11.1
path - 1.9.0 1.9.0
plugin_platform_interface - 2.1.8 2.1.8
pointycastle - 3.9.1 3.9.1
quiver - 3.2.1 3.2.1
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
x509 - 0.2.4+2 0.2.4+2

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

Found 3 issues. Showing the first 2:

The constraint `^4.1.0` on flutter_secure_storage does not support the stable version `5.0.0`.

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

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

Analyzed with Pana 0.22.3, Flutter 3.22.0, Dart 3.4.0.

Check the analysis log for details.

8
likes
60
pub points
33%
popularity

Publisher

unverified uploader

Flutter SDK for Cotter's Passwordless Authentication Service.

Homepage

Documentation

API reference

License

BSD-3-Clause (LICENSE)

Dependencies

async, crypto, cryptography, device_info, email_validator, flutter, flutter_secure_storage, flutter_web_auth, http, jose, meta

More

Packages that depend on cotter