flutter_kanji_view 2.2.0
flutter_kanji_view: ^2.2.0 copied to clipboard
A library for drawing SVG kanji paths. It can load data from String, SVG file, or manually crafted Path object list. Manual controls are possible.
We analyzed this package 3 days ago, and awarded it 150 pub points (of a possible 160):
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: Use an OSI-approved license
Detected license: MIT.
10/10 points: 20% or more of the public API has dartdoc comments
88 out of 231 API elements (38.1 %) have documentation comments.
Some symbols that are missing documentation: abstract_drawing_state, abstract_drawing_state.AbstractAnimatedDrawingState.AbstractAnimatedDrawingState.new, abstract_drawing_state.AbstractAnimatedDrawingState.addListenersToAnimationController, abstract_drawing_state.AbstractAnimatedDrawingState.animationCurve, abstract_drawing_state.AbstractAnimatedDrawingState.animationOrder.
10/10 points: Package has an example
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 not compatible with platform Web
Because:
package:flutter_kanji_view/flutter_kanji_view.dartthat imports:package:flutter_kanji_view/fklib/drawing_widget.dartthat imports:package:flutter_kanji_view/fklib/drawing_state_with_ticker.dartthat imports:package:flutter_kanji_view/fklib/abstract_drawing_state.dartthat imports:package:flutter_kanji_view/fklib/path_painter_builder.dartthat imports:package:flutter_kanji_view/fklib/painter.dartthat imports:dart:io
40/50 points: code has no errors, warnings, lints, or formatting issues
Found 5 issues. Showing the first 2:
INFO: Statements in an if should be enclosed in a block.
lib/fklib/painter.dart:381:7
╷
381 │ canvas.clipRect(clipRect);
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/fklib/painter.dart
INFO: Statements in an if should be enclosed in a block.
lib/fklib/parser.dart:17:7
╷
17 │ throw UnsupportedError("Empty color field found.");
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/fklib/parser.dart
10/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
path_parsing |
^1.1.0 |
1.1.0 | 1.1.0 | |
xml |
^7.0.1 |
7.1.0 | 7.1.0 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
args |
- | 2.7.0 | 2.7.0 | |
characters |
- | 1.4.1 | 1.4.1 | |
collection |
- | 1.19.1 | 1.19.1 | |
material_color_utilities |
- | 0.13.0 | 0.13.1 | |
meta |
- | 1.19.0 | 1.19.0 | |
petitparser |
- | 7.1.0 | 7.1.0 | |
vector_math |
- | 2.4.3 | 2.4.3 |
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.23.19, Flutter 3.47.7, Dart 3.13.5.
Check the analysis log for details.