element_core 0.0.1 copy "element_core: ^0.0.1" to clipboard
element_core: ^0.0.1 copied to clipboard

element code library

115/ 160
pub points
36
downloads

We analyzed this package 44 hours ago, and awarded it 115 pub points (of a possible 160):

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

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

Repository URL doesn't exist.

At the time of the analysis https://github.com/luoyi58624/element_base was unreachable. Make sure that the website is reachable via HEAD requests.

Failed check 0/5 points: Provide a valid README.md

`README.md` contains too many non-ASCII characters.

The site uses English as its primary language. The content of README.md in your package should primarily contain characters used in English.

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

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

Detected license: MIT.

Failed report section
Provide documentation
10 / 20trigger folding of the section

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

2339 out of 3261 API elements (71.7 %) have documentation comments.

Some symbols that are missing documentation: commons, commons.El.El.new, commons.El.error, commons.El.info, commons.El.lg.

Failed check 0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

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

Passed check 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 does not support platform `Web`.

Because:

  • package:element_core/commons.dart that imports:
  • package:element_core/src/commons/services.dart that imports:
  • package:element_core/utils.dart that imports:
  • package:element_core/src/utils/global_font/global_font.dart that imports:
  • package:element_core/modules.dart that imports:
  • package:element_core/src/modules/storage/index.dart that imports:
  • package:path_provider/path_provider.dart that declares support for platforms: Android, iOS, Windows, Linux, macOS.

Failed check 0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:element_core/commons.dart that imports:
  • package:element_core/src/commons/types.dart that imports:
  • package:element_core/src/commons/models.dart that imports:
  • package:element_dart/annotation.dart that imports:
  • package:element_dart/src/annotation/json_util.dart that imports:
  • package:element_dart/extensions.dart that imports:
  • package:element_dart/src/extensions/string.dart that imports:
  • package:element_dart/utils.dart that imports:
  • package:element_dart/src/utils/util.dart that imports:
  • package:element_dart/log.dart that imports:
  • package:logger/logger.dart that imports:
  • package:logger/src/outputs/advanced_file_output_stub.dart that imports:
  • dart:io

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.

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

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

Found 15 issues. Showing the first 2:

WARNING: The declaration '_removeElement' isn't referenced.

lib/src/components/layout/virtual_scroll/element.dart:28:8

   ╷
28 │   void _removeElement(_Node node) {
   │        ^^^^^^^^^^^^^^
   ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/src/components/layout/virtual_scroll/element.dart

WARNING: The value of the local variable 'targetEndScrollOffset' isn't used.

lib/src/internal/widgets/sliver/list2.dart:44:18

   ╷
44 │     final double targetEndScrollOffset = scrollOffset + remainingExtent;
   │                  ^^^^^^^^^^^^^^^^^^^^^
   ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/src/internal/widgets/sliver/list2.dart

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

Passed check 10/10 points: All of the package dependencies are supported in the latest version

Package Constraint Compatible Latest Notes
dio ^5.8.0 5.9.0 5.9.0
dio_smart_retry ^7.0.1 7.0.1 7.0.1
element_dart ^0.0.1 0.0.1 0.0.1
flutter_hooks ^0.21.2 0.21.3+1 0.21.3+1
gap ^3.0.1 3.0.1 3.0.1
http ^1.5.0 1.5.0 1.5.0
meta ^1.12.0 1.16.0 1.17.0
path ^1.9.0 1.9.1 1.9.1
path_provider ^2.1.4 2.1.5 2.1.5
provider ^6.1.5+1 6.1.5+1 6.1.5+1
url_launcher ^6.3.0 6.3.2 6.3.2
web ^1.1.0 1.1.1 1.1.1
Transitive dependencies
Package Constraint Compatible Latest Notes
archive - 4.0.7 4.0.7
async - 2.13.0 2.13.0
characters - 1.4.0 1.4.1
collection - 1.19.1 1.19.1
crypto - 3.0.7 3.0.7
dio_web_adapter - 2.1.1 2.1.1
ffi - 2.1.4 2.1.4
fixnum - 1.1.1 1.1.1
http_parser - 4.1.2 4.1.2
logger - 2.6.2 2.6.2
material_color_utilities - 0.11.1 0.13.0
mime - 2.0.0 2.0.0
nested - 1.0.0 1.0.0
path_provider_android - 2.2.20 2.2.20
path_provider_foundation - 2.4.3 2.4.3
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
posix - 6.0.3 6.0.3
source_span - 1.10.1 1.10.1
string_scanner - 1.4.1 1.4.1
term_glyph - 1.2.2 1.2.2
typed_data - 1.4.0 1.4.0
url_launcher_android - 6.3.24 6.3.24
url_launcher_ios - 6.3.5 6.3.5
url_launcher_linux - 3.2.1 3.2.1
url_launcher_macos - 3.2.4 3.2.4
url_launcher_platform_interface - 2.3.2 2.3.2
url_launcher_web - 2.4.1 2.4.1
url_launcher_windows - 3.1.4 3.1.4
uuid - 4.5.2 4.5.2
vector_math - 2.2.0 2.2.0
xdg_directories - 1.1.0 1.1.0

To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.

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.0, Flutter 3.35.7, Dart 3.9.2.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
0
likes
115
points
36
downloads

Publisher

unverified uploader

Weekly Downloads

element code library

Repository (GitHub)

Documentation

API reference

License

MIT (license)

Dependencies

dio, dio_smart_retry, element_dart, flutter, flutter_hooks, gap, http, meta, path, path_provider, provider, url_launcher, web

More

Packages that depend on element_core