ankidroid_for_flutter 1.0.3
ankidroid_for_flutter: ^1.0.3 copied to clipboard
A flutter wrapper over the java AnkiDroid API.
We analyzed this package 10 days ago, and awarded it 140 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
23 out of 51 API elements (45.1 %) have documentation comments.
Some symbols that are missing documentation: ankidroid_for_flutter
, ankidroid_for_flutter.Ankidroid
, ankidroid_for_flutter.Ankidroid.apiHostSpecVersion
, ankidroid_for_flutter.Ankidroid.currentModelId
, ankidroid_for_flutter.Ankidroid.deckList
.
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:ankidroid_for_flutter/ankidroid_for_flutter.dart
that declares support for platforms:Android
.
Package does not support platform `Windows`.
Because:
package:ankidroid_for_flutter/ankidroid_for_flutter.dart
that declares support for platforms:Android
.
Package does not support platform `Linux`.
Because:
package:ankidroid_for_flutter/ankidroid_for_flutter.dart
that declares support for platforms:Android
.
Package does not support platform `macOS`.
Because:
package:ankidroid_for_flutter/ankidroid_for_flutter.dart
that declares support for platforms:Android
.
Package does not support platform `Web`.
Because:
package:ankidroid_for_flutter/ankidroid_for_flutter.dart
that declares support for platforms:Android
.
0/0 points: WASM compatibility
Package not compatible with runtime wasm
Because:
package:ankidroid_for_flutter/ankidroid_for_flutter.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.cn/web/wasm for details.
40/50 points: code has no errors, warnings, lints, or formatting issues
Found 6 issues. Showing the first 2:
INFO: Angle brackets will be interpreted as HTML.
lib/ankidroid_for_flutter.dart:282:73
╷
282 │ /// 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/ankidroid_for_flutter.dart
/tmp/pana_MYFUDO/lib/ankidroid_for_flutter.dart doesn't match the Dart formatter.
To format your files run: dart format .
10/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 | |
plugin_platform_interface |
^2.1.4 |
2.1.8 | 2.1.8 |
Transitive dependencies
Package | Constraint | Compatible | Latest | Notes |
---|---|---|---|---|
characters |
- | 1.4.0 | 1.4.1 | |
collection |
- | 1.19.1 | 1.19.1 | |
material_color_utilities |
- | 0.11.1 | 0.13.0 | |
meta |
- | 1.16.0 | 1.17.0 | |
vector_math |
- | 2.2.0 | 2.2.0 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides
.
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.23
, Flutter 3.35.5
, Dart 3.9.2
.
Check the analysis log for details.