flutter_ankidroid 0.8.1
flutter_ankidroid: ^0.8.1 copied to clipboard
A flutter wrapper over the java AnkiDroid API.
We analyzed this package 3 days ago, and awarded it 130 pub points (of a possible 160):
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 50 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: MIT
.
10/10 points: 20% or more of the public API has dartdoc comments
18 out of 41 API elements (43.9 %) have documentation comments.
Some symbols that are missing documentation: flutter_ankidroid
, flutter_ankidroid.Ankidroid
, flutter_ankidroid.Ankidroid.apiHostSpecVersion
, flutter_ankidroid.Ankidroid.askForPermission
, flutter_ankidroid.Ankidroid.currentModelId
.
10/10 points: Package has an example
20/20 points: Supports 1 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
- ✓ Android
These platforms are not supported:
Package does not support platform `iOS`.
Because:
package:flutter_ankidroid/flutter_ankidroid.dart
that declares support for platforms:Android
.
Package does not support platform `Windows`.
Because:
package:flutter_ankidroid/flutter_ankidroid.dart
that declares support for platforms:Android
.
Package does not support platform `Linux`.
Because:
package:flutter_ankidroid/flutter_ankidroid.dart
that declares support for platforms:Android
.
Package does not support platform `macOS`.
Because:
package:flutter_ankidroid/flutter_ankidroid.dart
that declares support for platforms:Android
.
Package does not support platform `Web`.
Because:
package:flutter_ankidroid/flutter_ankidroid.dart
that declares support for platforms:Android
.
0/0 points: WASM compatibility
Package not compatible with runtime wasm
Because:
package:flutter_ankidroid/flutter_ankidroid.dart
that imports:package:flutter_isolate/flutter_isolate.dart
that imports:package:flutter_isolate/src/compute.dart
that imports:dart:isolate
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.
40/50 points: code has no errors, warnings, lints, or formatting issues
Found 4 issues. Showing the first 2:
INFO: Angle brackets will be interpreted as HTML.
lib/flutter_ankidroid.dart:271:73
╷
271 │ /// returns list of strings. if asValue not null consider writing List<String>.from(fieldList)
│ ^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/flutter_ankidroid.dart
/tmp/pana_HHBZBL/lib/flutter_ankidroid.dart doesn't match the Dart formatter.
To format your files run: dart format .
0/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest | Notes |
---|---|---|---|---|
async |
^2.11.0 |
2.13.0 | 2.13.0 | |
flutter_isolate |
^2.0.4 |
2.1.0 | 2.1.0 | |
request_permission |
^2.1.4 |
2.1.4 | 2.1.4 | Discontinued |
Transitive dependencies
Package | Constraint | Compatible | Latest | Notes |
---|---|---|---|---|
characters |
- | 1.4.0 | 1.4.1 | |
collection |
- | 1.19.1 | 1.19.1 | |
crypto |
- | 3.0.6 | 3.0.6 | |
fixnum |
- | 1.1.1 | 1.1.1 | |
material_color_utilities |
- | 0.11.1 | 0.13.0 | |
meta |
- | 1.16.0 | 1.17.0 | |
sprintf |
- | 7.0.0 | 7.0.0 | |
typed_data |
- | 1.4.0 | 1.4.0 | |
uuid |
- | 4.5.1 | 4.5.1 | |
vector_math |
- | 2.1.4 | 2.2.0 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides
.
The package has one or more discontinued direct dependencies.
Discontinued packages are no longer maintained, and can end up being a
liability.
Consider migrating away from these dependencies:
- request_permission.
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.21
, Flutter 3.32.4
, Dart 3.8.1
.
Check the analysis log for details.