luoyi_flutter_font 1.1.3 copy "luoyi_flutter_font: ^1.1.3" to clipboard
luoyi_flutter_font: ^1.1.3 copied to clipboard

discontinued

flutter dynamic load font, optimize chinese font render effect

75/ 160
pub points
4
downloads

We analyzed this package 2 days ago, and awarded it 75 pub points (of a possible 160):

Failed report section
Follow Dart file conventions
25 / 30trigger folding of the section

Partially passed check 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.

Passed check 5/5 points: Provide a valid README.md

Failed check 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.

Passed check 10/10 points: Use an OSI-approved license

Detected license: BSD-3-Clause.

Passed report section
Provide documentation
20 / 20trigger folding of the section

Passed check 10/10 points: 20% or more of the public API has dartdoc comments

13 out of 17 API elements (76.5 %) 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.

Passed check 10/10 points: Package has an example

Failed report section
Platform support
0 / 20trigger folding of the section

Failed check 0/20 points: Supports 0 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

Failed report section
Pass static analysis
0 / 50trigger folding of the section

Failed check 0/50 points: code has no errors, warnings, lints, or formatting issues

Found 4 issues. Showing the first 2:

ERROR: Undefined name 'PlatformUtil'.

lib/src/font.dart:139:9

    ╷
139 │     if (PlatformUtil.isMacOS || PlatformUtil.isIOS) {
    │         ^^^^^^^^^^^^
    ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/src/font.dart

ERROR: Undefined name 'PlatformUtil'.

lib/src/font.dart:139:33

    ╷
139 │     if (PlatformUtil.isMacOS || PlatformUtil.isIOS) {
    │                                 ^^^^^^^^^^^^
    ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/src/font.dart

Failed report section
Support up-to-date dependencies
30 / 40trigger folding of the section

Failed check 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.

Passed check 10/10 points: Package supports latest stable Dart and Flutter SDKs

Passed check 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.

Weekly downloads

Display as:
By versions:
0
likes
75
points
4
downloads

Publisher

unverified uploader

Weekly Downloads

flutter dynamic load font, optimize chinese font render effect

Homepage

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

flutter, flutter_obs, http, localstorage, luoyi_dart_base, path_provider, web

More

Packages that depend on luoyi_flutter_font