luoyi_flutter_font 1.1.4
luoyi_flutter_font: ^1.1.4 copied to clipboard
flutter dynamic load font, optimize chinese font render effect
We analyzed this package 2 days ago, and awarded it 125 pub points (of a possible 160):
10/10 points: Provide a valid pubspec.yaml
Homepage URL doesn't exist.
At the time of the analysis https://github.com/luoyi58624/luoyi_flutter_font was unreachable. Make sure that the website is reachable via HEAD requests.
5/5 points: Provide a valid README.md
0/5 points: Provide a valid CHANGELOG.md
`CHANGELOG.md` contains too many non-ASCII characters.
The site uses English as its primary language. The content of CHANGELOG.md in your package should primarily contain characters used in English.
10/10 points: Use an OSI-approved license
Detected license: BSD-3-Clause.
10/10 points: 20% or more of the public API has dartdoc comments
12 out of 16 API elements (75.0 %) have documentation comments.
Some symbols that are missing documentation: luoyi_flutter_font, luoyi_flutter_font.FontModel, luoyi_flutter_font.FontModel.FontModel.fromJson, luoyi_flutter_font.FontModel.toJson.
10/10 points: Package has an example
10/20 points: Supports 6 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Android
-
✓ iOS
-
✓ Windows
-
✓ Linux
-
✓ macOS
-
✓ Web
These issues are present but do not affect the score, because they may not originate in your package:
Package not compatible with platform Web
Because:
package:luoyi_flutter_font/luoyi_flutter_font.dartthat imports:package:luoyi_flutter_font/src/font.dartthat imports:package:luoyi_flutter_font/src/font_web.dartthat imports:package:luoyi_dart_base/luoyi_dart_base.dartthat imports:package:luoyi_dart_base/src/extensions/map.dartthat imports:package:luoyi_dart_base/src/util.dartthat imports:package:luoyi_dart_base/src/logger.dartthat imports:package:logger/logger.dartthat imports:package:logger/src/outputs/advanced_file_output_stub.dartthat imports:dart:io
WASM compatibility:
Package not compatible with runtime wasm
Because:
package:luoyi_flutter_font/luoyi_flutter_font.dartthat imports:package:luoyi_flutter_font/src/font.dartthat imports:package:luoyi_flutter_font/src/font_web.dartthat imports:package:luoyi_dart_base/luoyi_dart_base.dartthat imports:package:luoyi_dart_base/src/extensions/map.dartthat imports:package:luoyi_dart_base/src/util.dartthat imports:package:luoyi_dart_base/src/logger.dartthat imports:package:logger/logger.dartthat imports:package:logger/src/outputs/advanced_file_output_stub.dartthat imports:dart:io
Note: This package supports Web but is not WASM-compatible, resulting in a partial score. See https://dart.dev/web/wasm for details.
40/50 points: code has no errors, warnings, lints, or formatting issues
INFO: Missing type annotation.
lib/src/preset.dart:11:14
╷
11 │ static get initialFont => FlutterFont._initialFont;
│ ^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/preset.dart
0/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
flutter_obs |
^1.0.0 |
1.6.3 | 1.6.3 | Discontinued |
http |
^1.2.1 |
1.6.0 | 1.6.0 | |
localstorage |
^5.0.0 |
5.0.0 | 6.0.0 | |
luoyi_dart_base |
^1.9.0 |
1.13.2 | 1.13.2 | Discontinued |
path_provider |
^2.1.3 |
2.1.5 | 2.1.5 | |
web |
^0.5.1 |
0.5.1 | 1.1.1 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
archive |
- | 3.6.1 | 4.0.9 | |
async |
- | 2.13.0 | 2.13.0 | |
characters |
- | 1.4.1 | 1.4.1 | |
code_assets |
- | 1.0.0 | 1.0.0 | |
collection |
- | 1.19.1 | 1.19.1 | |
crypto |
- | 3.0.7 | 3.0.7 | |
ffi |
- | 2.2.0 | 2.2.0 | |
file |
- | 7.0.1 | 7.0.1 | |
fixnum |
- | 1.1.1 | 1.1.1 | |
glob |
- | 2.1.3 | 2.1.3 | |
hooks |
- | 1.0.1 | 1.0.1 | |
http_parser |
- | 4.1.2 | 4.1.2 | |
logger |
- | 2.6.2 | 2.6.2 | |
logging |
- | 1.3.0 | 1.3.0 | |
material_color_utilities |
- | 0.13.0 | 0.13.0 | |
meta |
- | 1.17.0 | 1.18.1 | |
native_toolchain_c |
- | 0.17.4 | 0.17.4 | |
objective_c |
- | 9.3.0 | 9.3.0 | |
path |
- | 1.9.1 | 1.9.1 | |
path_provider_android |
- | 2.2.22 | 2.2.22 | |
path_provider_foundation |
- | 2.6.0 | 2.6.0 | |
path_provider_linux |
- | 2.2.1 | 2.2.1 | |
path_provider_platform_interface |
- | 2.1.2 | 2.1.2 | |
path_provider_windows |
- | 2.3.0 | 2.3.0 | |
platform |
- | 3.1.6 | 3.1.6 | |
plugin_platform_interface |
- | 2.1.8 | 2.1.8 | |
pub_semver |
- | 2.2.0 | 2.2.0 | |
source_span |
- | 1.10.2 | 1.10.2 | |
string_scanner |
- | 1.4.1 | 1.4.1 | |
term_glyph |
- | 1.2.2 | 1.2.2 | |
typed_data |
- | 1.4.0 | 1.4.0 | |
uuid |
- | 4.5.3 | 4.5.3 | |
vector_math |
- | 2.2.0 | 2.2.0 | |
xdg_directories |
- | 1.1.0 | 1.1.0 | |
yaml |
- | 3.1.3 | 3.1.3 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
Found 3 issues. Showing the first 2:
The constraint `^5.0.0` on localstorage does not support the stable version `6.0.0`.
Try running dart pub upgrade --major-versions localstorage to update the constraint.
The constraint `^0.5.1` on web does not support the stable version `1.0.0`.
Try running dart pub upgrade --major-versions web to update the constraint.
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.10, Flutter 3.41.2, Dart 3.11.0.
Check the analysis log for details.