lesntec 1.0.0 copy "lesntec: ^1.0.0" to clipboard
lesntec: ^1.0.0 copied to clipboard

The function of this package is for company Lesntec to serve Company Ruixin

1
likes
110/ 160
pub points
0%
popularity

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

failed
Follow Dart file conventions
20 / 30trigger folding of the section

10/10 points: Provide a valid pubspec.yaml

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.

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: MIT.

partial
Provide documentation
10 / 20trigger folding of the section

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

16 out of 930 API elements (1.7 %) have documentation comments.

Providing good documentation for libraries, classes, functions, and other API elements improves code readability and helps developers find and use your API. Document at least 20% of the public API elements.

To highlight public API members missing documentation consider enabling the public_member_api_docs lint.

Some symbols that are missing documentation: adapt, adapt.Adapt, adapt.Adapt.Adapt, adapt.Adapt.initialize, adapt.Adapt.px.

10/10 points: Package has an example

failed
Platform support
20 / 20trigger folding of the section

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

  • ✓ Android

  • ✓ iOS

These platforms are not supported:

Package does not support platform `Windows`.

Because:

  • package:lesntec/lesntec.dart that declares support for platforms: Android, iOS.
Package does not support platform `Linux`.

Because:

  • package:lesntec/lesntec.dart that declares support for platforms: Android, iOS.
Package does not support platform `macOS`.

Because:

  • package:lesntec/lesntec.dart that declares support for platforms: Android, iOS.
Package does not support platform `Web`.

Because:

  • package:lesntec/lesntec.dart that declares support for platforms: Android, iOS.

0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:lesntec/lesntec.dart that imports:
  • package:lesntec/ruixin/room.dart that imports:
  • package:location/location.dart that imports:
  • package:location_platform_interface/location_platform_interface.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.dev/web/wasm for details.

failed
Pass static analysis
30 / 50trigger folding of the section

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

Found 48 issues. Showing the first 2:

WARNING: This class (or a class that this class inherits from) is marked as '@immutable', but one or more of its instance fields aren't final: _MoreModalSheetState.callback

lib/component/custom_modal.dart:276:7

    ╷
276 │ class _MoreModalSheetState extends StatelessWidget {
    │       ^^^^^^^^^^^^^^^^^^^^
    ╵

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

WARNING: This class (or a class that this class inherits from) is marked as '@immutable', but one or more of its instance fields aren't final: _DesignTypeSheetState.modelList, _DesignTypeSheetState.callback

lib/component/custom_modal.dart:360:7

    ╷
360 │ class _DesignTypeSheetState extends StatelessWidget {
    │       ^^^^^^^^^^^^^^^^^^^^^
    ╵

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

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

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

Package Constraint Compatible Latest
crypto ^3.0.3 3.0.6 3.0.6
cupertino_icons ^1.0.2 1.0.8 1.0.8
dio ^5.1.2 5.7.0 5.7.0
flutter flutter 0.0.0 0.0.0
flutter_inappwebview ^5.7.2+3 5.8.0 6.1.5
fluttertoast ^8.2.2 8.2.8 8.2.8
jovial_svg ^1.1.14 1.1.23 1.1.23
json_annotation ^4.8.1 4.9.0 4.9.0
location ^4.4.0 4.4.0 7.0.1
path_provider ^2.0.15 2.1.5 2.1.5
plugin_platform_interface ^2.0.2 2.1.8 2.1.8
shared_preferences ^2.0.13 2.3.2 2.3.2
sqflite ^2.2.8+4 2.4.0 2.4.0
Transitive dependencies
Package Constraint Compatible Latest
args - 2.6.0 2.6.0
async - 2.12.0 2.12.0
characters - 1.3.0 1.3.1
collection - 1.18.0 1.19.1
convert - 3.1.2 3.1.2
dio_web_adapter - 2.0.0 2.0.0
ffi - 2.1.3 2.1.3
file - 7.0.1 7.0.1
flutter_web_plugins - 0.0.0 0.0.0
http - 1.2.2 1.2.2
http_parser - 4.0.2 4.1.1
jovial_misc - 0.8.5 0.8.5
js - 0.6.7 0.7.1
location_platform_interface - 2.3.0 5.0.0
location_web - 3.1.1 5.0.4
material_color_utilities - 0.11.1 0.12.0
meta - 1.15.0 1.16.0
path - 1.9.1 1.9.1
path_provider_android - 2.2.12 2.2.12
path_provider_foundation - 2.4.0 2.4.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
petitparser - 6.0.2 6.0.2
platform - 3.1.6 3.1.6
pointycastle - 3.9.1 3.9.1
shared_preferences_android - 2.3.3 2.3.3
shared_preferences_foundation - 2.5.3 2.5.3
shared_preferences_linux - 2.4.1 2.4.1
shared_preferences_platform_interface - 2.4.1 2.4.1
shared_preferences_web - 2.4.2 2.4.2
shared_preferences_windows - 2.4.1 2.4.1
sky_engine - 0.0.99 0.0.99
source_span - 1.10.0 1.10.0
sqflite_android - 2.4.0 2.4.0
sqflite_common - 2.5.4+5 2.5.4+5
sqflite_darwin - 2.4.1-1 2.4.1-1
sqflite_platform_interface - 2.4.0 2.4.0
string_scanner - 1.4.0 1.4.0
synchronized - 3.3.0+3 3.3.0+3
term_glyph - 1.2.1 1.2.1
typed_data - 1.4.0 1.4.0
vector_math - 2.1.4 2.1.4
web - 1.1.0 1.1.0
xdg_directories - 1.1.0 1.1.0
xml - 6.5.0 6.5.0

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

The constraint `^5.7.2+3` on flutter_inappwebview does not support the stable version `6.0.0`.

Try running dart pub upgrade --major-versions flutter_inappwebview to update the constraint.

The constraint `^4.4.0` on location does not support the stable version `5.0.0`.

Try running dart pub upgrade --major-versions location 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.22.13, Flutter 3.24.3, Dart 3.5.3.

Check the analysis log for details.

1
likes
110
pub points
0%
popularity

Publisher

unverified uploader

The function of this package is for company Lesntec to serve Company Ruixin

Homepage

Documentation

API reference

License

MIT (license)

Dependencies

crypto, cupertino_icons, dio, flutter, flutter_inappwebview, fluttertoast, jovial_svg, json_annotation, location, path_provider, plugin_platform_interface, shared_preferences, sqflite

More

Packages that depend on lesntec