flutter_log_base 0.0.12 flutter_log_base: ^0.0.12 copied to clipboard
flutter的log基础库.
We analyzed this package 11 days ago, and awarded it 115 pub points (of a possible 160):
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 60 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.
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: MIT
.
0/10 points: 20% or more of the public API has dartdoc comments
7 out of 96 API elements (7.3 %) 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: flutter_log_base
, flutter_log_base.ApiPurposeModel
, flutter_log_base.ApiPurposeModel.ApiPurposeModel
, flutter_log_base.ApiPurposeModel.caller
, flutter_log_base.ApiPurposeModel.formJson
.
0/10 points: Package has an example
No example found.
See package layout guidelines on how to add an example.
20/20 points: Supports 3 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Android
-
✓ iOS
-
✓ Web
These platforms are not supported:
Package does not support platform `Windows`.
Because:
package:flutter_log_base/flutter_log_base.dart
that imports:package:flutter_log_base/src/util/log_get_util.dart
that imports:package:flutter_log_base/src/util/dev_log_util.dart
that imports:package:flutter_log_base/src/util/popup_logview_manager.dart
that imports:package:flutter_log_base/src/log_ui/home/log_home_page.dart
that imports:package:flutter_log_base/src/log_ui/list/log_list.dart
that imports:package:flutter_demo_kit/flutter_demo_kit.dart
that imports:package:flutter_demo_kit/baseutil/cjts_toast_util.dart
that imports:package:fluttertoast/fluttertoast.dart
that declares support for platforms:Android
,iOS
,Web
.
Package does not support platform `Linux`.
Because:
package:flutter_log_base/flutter_log_base.dart
that imports:package:flutter_log_base/src/util/log_get_util.dart
that imports:package:flutter_log_base/src/util/dev_log_util.dart
that imports:package:flutter_log_base/src/util/popup_logview_manager.dart
that imports:package:flutter_log_base/src/log_ui/home/log_home_page.dart
that imports:package:flutter_log_base/src/log_ui/list/log_list.dart
that imports:package:flutter_demo_kit/flutter_demo_kit.dart
that imports:package:flutter_demo_kit/baseutil/cjts_toast_util.dart
that imports:package:fluttertoast/fluttertoast.dart
that declares support for platforms:Android
,iOS
,Web
.
Package does not support platform `macOS`.
Because:
package:flutter_log_base/flutter_log_base.dart
that imports:package:flutter_log_base/src/util/log_get_util.dart
that imports:package:flutter_log_base/src/util/dev_log_util.dart
that imports:package:flutter_log_base/src/util/popup_logview_manager.dart
that imports:package:flutter_log_base/src/log_ui/home/log_home_page.dart
that imports:package:flutter_log_base/src/log_ui/list/log_list.dart
that imports:package:flutter_demo_kit/flutter_demo_kit.dart
that imports:package:flutter_demo_kit/baseutil/cjts_toast_util.dart
that imports:package:fluttertoast/fluttertoast.dart
that declares support for platforms:Android
,iOS
,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:flutter_log_base/flutter_log_base.dart
that imports:package:flutter_log_base/src/util/log_get_util.dart
that imports:package:flutter_log_base/src/util/dev_log_util.dart
that imports:package:flutter_log_base/src/util/popup_logview_manager.dart
that imports:package:flutter_log_base/src/log_ui/home/log_home_page.dart
that imports:package:flutter_log_base/src/log_ui/list/log_list.dart
that imports:package:flutter_demo_kit/flutter_demo_kit.dart
that imports:package:flutter_demo_kit/baseutil/cjts_toast_util.dart
that imports:package:fluttertoast/fluttertoast.dart
that imports:dart:io
0/0 points: WASM compatibility
Package not compatible with runtime wasm
Because:
package:flutter_log_base/flutter_log_base.dart
that imports:package:flutter_log_base/src/util/log_get_util.dart
that imports:package:flutter_log_base/src/util/dev_log_util.dart
that imports:package:flutter_log_base/src/util/popup_logview_manager.dart
that imports:package:flutter_log_base/src/log_ui/home/log_home_page.dart
that imports:package:flutter_log_base/src/log_ui/list/log_list.dart
that imports:package:flutter_demo_kit/flutter_demo_kit.dart
that imports:package:flutter_demo_kit/baseutil/cjts_toast_util.dart
that imports:package:fluttertoast/fluttertoast.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.
40/50 points: code has no errors, warnings, lints, or formatting issues
Found 9 issues. Showing the first 2:
INFO: 'MediaQueryData.fromWindow' is deprecated and shouldn't be used. Use MediaQueryData.fromView instead. This constructor was deprecated in preparation for the upcoming multi-window support. This feature was deprecated after v3.7.0-32.0.pre.
lib/src/log_ui/detail/log_detail_widget.dart:185:9
╷
185 │ MediaQueryData.fromWindow(window); // 需 import 'dart:ui';
│ ^^^^^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/log_ui/detail/log_detail_widget.dart
INFO: 'window' is deprecated and shouldn't be used. Look up the current FlutterView from the context via View.of(context) or consult the PlatformDispatcher directly instead. Deprecated to prepare for the upcoming multi-window support. This feature was deprecated after v3.7.0-32.0.pre.
lib/src/log_ui/detail/log_detail_widget.dart:185:35
╷
185 │ MediaQueryData.fromWindow(window); // 需 import 'dart:ui';
│ ^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/log_ui/detail/log_detail_widget.dart
10/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest |
---|---|---|---|
flutter |
flutter |
0.0.0 | 0.0.0 |
flutter_demo_kit |
^0.0.3 |
0.0.4 | 0.0.4 |
flutter_foundation_base |
^0.0.9 |
0.0.10 | 0.0.10 |
flutter_json_viewer_new |
^0.0.2 |
0.0.2 | 0.0.2 |
provider |
^6.0.5 |
6.1.2 | 6.1.2 |
Transitive dependencies
Package | Constraint | Compatible | Latest |
---|---|---|---|
characters |
- | 1.3.0 | 1.4.0 |
collection |
- | 1.19.0 | 1.19.1 |
crypto |
- | 3.0.6 | 3.0.6 |
flutter_web_plugins |
- | 0.0.0 | 0.0.0 |
fluttertoast |
- | 8.2.10 | 8.2.10 |
material_color_utilities |
- | 0.11.1 | 0.12.0 |
meta |
- | 1.15.0 | 1.16.0 |
nested |
- | 1.0.0 | 1.0.0 |
sky_engine |
- | 0.0.0 | 0.0.0 |
typed_data |
- | 1.4.0 | 1.4.0 |
vector_math |
- | 2.1.4 | 2.1.4 |
web |
- | 1.1.0 | 1.1.0 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides
.
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.17
, Flutter 3.27.0
, Dart 3.6.0
.
Check the analysis log for details.