cotter 0.1.3
cotter: ^0.1.3 copied to clipboard
Flutter SDK for Cotter's Passwordless Authentication Service.
We analyzed this package on Apr 9, 2021, and awarded it 70 pub points (of a possible 110):
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: Package has an example
- Found example at:
example/lib/main.dart
0/10 points: 20% or more of the public API has dartdoc comments
- 25 out of 203 API elements (12.3 %) 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.
10/20 points: Supports 2 of 3 possible platforms (iOS, Android, Web)
Found 6 issues. Showing the first 2:
Consider supporting multiple platforms:
Package does not support Flutter 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
20/30 points: code has no errors, warnings, lints, or formatting issues
INFO: 'OutlineButton' is deprecated and shouldn't be used. Use OutlinedButton instead. See the migration guide in flutter.dev/go/material-button-migration-guide). This feature was deprecated after v1.25.0-8.1.pre..
lib/src/widgets/approveRequest.dart:93:30
╷
93 │ child: OutlineButton(
│ ^^^^^^^^^^^^^
╵
To reproduce make sure you are using pedantic and run flutter analyze lib/src/widgets/approveRequest.dart
INFO: 'OutlineButton' is deprecated and shouldn't be used. Use OutlinedButton instead. See the migration guide in flutter.dev/go/material-button-migration-guide). This feature was deprecated after v1.25.0-8.1.pre..
lib/src/widgets/approveRequest.dart:106:30
╷
106 │ child: OutlineButton(
│ ^^^^^^^^^^^^^
╵
To reproduce make sure you are using pedantic and run flutter analyze lib/src/widgets/approveRequest.dart
0/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest |
---|---|---|---|
async | ^2.4.2 | 2.5.0 | 2.5.0 |
crypto | ^2.1.5 | 2.1.5 | 3.0.1 |
cryptography | ^1.4.1 | 1.4.1 | 2.0.1 |
device_info | ^1.0.0 | 1.0.0 | 2.0.0 |
email_validator | ^1.0.6 | 1.0.6 | 2.0.1 |
flutter | flutter | 0.0.0 | 0.0.0 |
flutter_secure_storage | ^3.3.5 | 3.3.5 | 4.1.0 |
flutter_web_auth | ^0.2.4 | 0.2.4 | 0.3.0 |
http | ^0.12.2 | 0.12.2 | 0.13.1 |
jose | ^0.1.2+1 | 0.1.2+1 | 0.3.2 |
meta | ^1.2.4 | 1.3.0 | 1.3.0 |
Transitive dependencies
Package | Constraint | Compatible | Latest |
---|---|---|---|
characters | - | 1.1.0 | 1.1.0 |
charcode | - | 1.2.0 | 1.2.0 |
collection | - | 1.15.0 | 1.15.0 |
convert | - | 2.1.1 | 3.0.0 |
crypto_keys | - | 0.1.4 | 0.3.0 |
device_info_platform_interface | - | 1.0.1 | 2.0.1 |
fixnum | - | 0.10.11 | 1.0.0 |
http_parser | - | 3.1.4 | 4.0.0 |
js | - | 0.6.3 | 0.6.3 |
matcher | - | 0.12.10 | 0.12.10 |
path | - | 1.8.0 | 1.8.0 |
pedantic | - | 1.11.0 | 1.11.0 |
plugin_platform_interface | - | 1.0.3 | 2.0.0 |
pointycastle | - | 2.0.1 | 3.0.1 |
quiver | - | 2.1.5 | 3.0.1 |
sky_engine | - | 0.0.99 | 0.0.99 |
source_span | - | 1.8.1 | 1.8.1 |
stack_trace | - | 1.10.0 | 1.10.0 |
string_scanner | - | 1.1.0 | 1.1.0 |
term_glyph | - | 1.2.0 | 1.2.0 |
typed_data | - | 1.3.0 | 1.3.0 |
vector_math | - | 2.1.0 | 2.1.0 |
To reproduce run pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides
.
Found 8 issues. Showing the first 2:
The constraint `^2.1.5` on crypto does not support the stable version `3.0.0`.
Try running dart pub upgrade --major-versions crypto
to update the constraint.
The constraint `^1.4.1` on cryptography does not support the stable version `2.0.0`.
Try running dart pub upgrade --major-versions cryptography
to update the constraint.
10/10 points: Package supports latest stable Dart and Flutter SDKs
Analysed with
Pana 0.15.4
,
Flutter 2.0.4
,
Dart 2.12.2
.