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

基础功能库 mrk_lib_base

110/ 160
pub points
10
downloads

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

Failed report section
Follow Dart file conventions
20 / 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.

The package description contains too many non-ASCII characters.

The site uses English as its primary language. The content of the description field in your package's pubspec.yaml should primarily contain characters used in English.

  • pubspec.yaml doesn't have a homepage entry.

  • pubspec.yaml doesn't have a repository entry.

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

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

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

Detected license: BSD-3-Clause.

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

22 out of 56 API elements (39.3 %) have documentation comments.

Some symbols that are missing documentation: mrk_lib_base, mrk_lib_base.LogExtension, mrk_lib_base.LogExtension.isDebug, mrk_lib_base.LogExtension.log, mrk_lib_base.LogExtension.logD.

Failed check 0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

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

Passed check 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:mrk_lib_base/mrk_lib_base.dart that imports:
  • package:mrk_lib_base/src/utils/toast.dart that imports:
  • package:fluttertoast/fluttertoast.dart that declares support for platforms: Android, iOS, Web.
Package does not support platform `Linux`.

Because:

  • package:mrk_lib_base/mrk_lib_base.dart that imports:
  • package:mrk_lib_base/src/utils/toast.dart that imports:
  • package:fluttertoast/fluttertoast.dart that declares support for platforms: Android, iOS, Web.
Package does not support platform `macOS`.

Because:

  • package:mrk_lib_base/mrk_lib_base.dart that imports:
  • package:mrk_lib_base/src/utils/toast.dart that imports:
  • package:fluttertoast/fluttertoast.dart that declares support for platforms: Android, iOS, Web.
Package not compatible with platform Web

Because:

  • package:mrk_lib_base/mrk_lib_base.dart that imports:
  • package:mrk_lib_base/src/utils/toast.dart that imports:
  • package:fluttertoast/fluttertoast.dart that imports:
  • dart:io
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

WARNING: Unused import: 'package:dio/dio.dart'.

lib/src/net/request.dart:1:8

  ╷
1 │ import 'package:dio/dio.dart';
  │        ^^^^^^^^^^^^^^^^^^^^^^
  ╵

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

WARNING: The value of the field '_defaultLogger' isn't used.

lib/src/utils/logger.dart:41:16

   ╷
41 │   static final _defaultLogger = Logger(
   │                ^^^^^^^^^^^^^^
   ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/src/utils/logger.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
cupertino_icons ^1.0.2 1.0.8 1.0.8
dio ^5.7.0 5.9.2 5.9.2
fluttertoast ^8.2.4 8.2.14 9.0.0
logger ^2.4.0 2.6.2 2.6.2
shared_preferences ^2.0.13 2.5.4 2.5.4
Transitive dependencies
Package Constraint Compatible Latest Notes
async - 2.13.0 2.13.0
characters - 1.4.1 1.4.1
collection - 1.19.1 1.19.1
dio_web_adapter - 2.1.2 2.1.2
ffi - 2.2.0 2.2.0
file - 7.0.1 7.0.1
http_parser - 4.1.2 4.1.2
material_color_utilities - 0.13.0 0.13.0
meta - 1.17.0 1.18.1
mime - 2.0.0 2.0.0
path - 1.9.1 1.9.1
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
shared_preferences_android - 2.4.21 2.4.21
shared_preferences_foundation - 2.5.6 2.5.6
shared_preferences_linux - 2.4.1 2.4.1
shared_preferences_platform_interface - 2.4.1 2.4.1
shared_preferences_web - 2.4.3 2.4.3
shared_preferences_windows - 2.4.1 2.4.1
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
vector_math - 2.2.0 2.2.0
web - 1.1.1 1.1.1
xdg_directories - 1.1.0 1.1.0

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

The constraint `^8.2.4` on fluttertoast does not support the stable version `9.0.0`.

Try running dart pub upgrade --major-versions fluttertoast 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.4, Dart 3.11.1.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
0
likes
110
points
10
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

基础功能库 mrk_lib_base

License

BSD-3-Clause (license)

Dependencies

cupertino_icons, dio, flutter, fluttertoast, logger, shared_preferences

More

Packages that depend on mrk_lib_base