lm_labs_utils 3.0.0
lm_labs_utils: ^3.0.0 copied to clipboard
Reusable utilities for Flutter apps, packages, and plugins to encourage good coding practices
We analyzed this package 9 days ago, and awarded it 140 pub points (of a possible 160):
10/10 points: Provide a valid pubspec.yaml
5/5 points: Provide a valid README.md
5/5 points: Provide a valid CHANGELOG.md
10/10 points: Use an OSI-approved license
Detected license: BSD-3-Clause.
10/10 points: 20% or more of the public API has dartdoc comments
70 out of 153 API elements (45.8 %) have documentation comments.
Some symbols that are missing documentation: constants, constants.LLPlatform.LLPlatform.new, constants.LLPlatform.isAndroid, constants.LLPlatform.isDesktop, constants.LLPlatform.isIOS.
0/10 points: Package has an example
No example found.
See package layout guidelines on how to add an example.
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 not compatible with platform Web
Because:
package:lm_labs_utils/constants.dartthat imports:package:lm_labs_utils/src/constants/platform.dartthat imports:dart:io
These issues are present but do not affect the score, because they may not originate in your package:
Package does not support platform `Android`.
Because:
package:lm_labs_utils/http_client.dartthat imports:package:lm_labs_utils/src/utils/http_client/network_interceptor.dartthat imports:package:connectivity_plus/connectivity_plus.dartthat imports:package:connectivity_plus/src/connectivity_plus_linux.dartthat imports:package:nm/nm.dartthat declares support for platforms:Linux.
Package does not support platform `iOS`.
Because:
package:lm_labs_utils/http_client.dartthat imports:package:lm_labs_utils/src/utils/http_client/network_interceptor.dartthat imports:package:connectivity_plus/connectivity_plus.dartthat imports:package:connectivity_plus/src/connectivity_plus_linux.dartthat imports:package:nm/nm.dartthat declares support for platforms:Linux.
Package does not support platform `Windows`.
Because:
package:lm_labs_utils/http_client.dartthat imports:package:lm_labs_utils/src/utils/http_client/network_interceptor.dartthat imports:package:connectivity_plus/connectivity_plus.dartthat imports:package:connectivity_plus/src/connectivity_plus_linux.dartthat imports:package:nm/nm.dartthat declares support for platforms:Linux.
Package does not support platform `macOS`.
Because:
package:lm_labs_utils/http_client.dartthat imports:package:lm_labs_utils/src/utils/http_client/network_interceptor.dartthat imports:package:connectivity_plus/connectivity_plus.dartthat imports:package:connectivity_plus/src/connectivity_plus_linux.dartthat imports:package:nm/nm.dartthat declares support for platforms:Linux.
40/50 points: code has no errors, warnings, lints, or formatting issues
Found 7 issues. Showing the first 2:
INFO: To-do comment doesn't follow the Flutter style.
lib/src/utils/bubbling_event/bubbling_event.dart:6:1
╷
6 │ // TODO: Wait for riverpod v3 to be released for generic types support
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/utils/bubbling_event/bubbling_event.dart
INFO: 'Future'-returning calls in a non-'async' function.
lib/src/utils/future_easy_debounce.dart:51:19
╷
51 │ onExecute().then((_) {
│ ^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/utils/future_easy_debounce.dart
10/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
connectivity_plus |
^7.3.1 |
7.3.1 | 7.3.1 | |
cupertino_ui |
^1.0.0 |
1.0.2 | 1.0.2 | |
dio |
^5.11.0 |
5.11.1 | 5.11.1 | |
easy_debounce |
^2.0.3 |
2.0.3 | 2.0.3 | |
flutter_hooks |
^0.21.3+1 |
0.21.3+1 | 0.21.3+1 | |
freezed_annotation |
^3.1.0 |
3.1.0 | 3.1.0 | |
hooks_riverpod |
^3.4.2 |
3.4.3 | 3.4.3 | |
i18n_extension |
^15.1.1 |
15.3.2 | 16.0.0 | |
json_annotation |
^4.12.0 |
4.12.0 | 4.12.0 | |
material_ui |
^1.0.0 |
1.1.1 | 1.1.1 | |
permission_handler |
^13.0.1 |
13.0.2 | 13.0.2 | |
riverpod_annotation |
^4.0.6 |
4.0.7 | 4.0.7 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
args |
- | 2.7.0 | 2.7.0 | |
async |
- | 2.13.1 | 2.13.1 | |
boolean_selector |
- | 2.1.2 | 2.1.2 | |
characters |
- | 1.4.1 | 1.4.1 | |
clock |
- | 1.1.3 | 1.1.3 | |
collection |
- | 1.19.1 | 1.19.1 | |
connectivity_plus_platform_interface |
- | 2.1.0 | 2.1.0 | |
crypto |
- | 3.0.7 | 3.0.7 | |
dbus |
- | 0.7.15 | 0.7.15 | |
dio_web_adapter |
- | 2.2.2 | 2.2.2 | |
fake_async |
- | 1.3.3 | 1.3.3 | |
ffi |
- | 2.2.0 | 2.2.0 | |
file |
- | 7.0.1 | 7.0.1 | |
fixnum |
- | 1.1.1 | 1.1.1 | |
flutter_riverpod |
- | 3.4.3 | 3.4.3 | |
gettext_parser |
- | 0.2.0 | 0.2.0 | |
http |
- | 1.6.0 | 1.6.0 | |
http_parser |
- | 4.1.2 | 4.1.2 | |
i18n_extension_core |
- | 5.2.1 | 6.0.0 | |
intl |
- | 0.20.3 | 0.20.3 | |
leak_tracker |
- | 11.0.2 | 11.0.2 | |
leak_tracker_flutter_testing |
- | 3.0.10 | 3.0.10 | |
leak_tracker_testing |
- | 3.0.2 | 3.0.2 | |
listen |
- | 1.0.1 | 1.0.1 | |
matcher |
- | 0.12.20 | 0.12.20 | |
material_color_utilities |
- | 0.13.0 | 0.13.1 | |
meta |
- | 1.19.0 | 1.19.0 | |
mime |
- | 2.1.0 | 2.1.0 | |
nm |
- | 0.5.0 | 0.5.0 | |
path |
- | 1.9.1 | 1.9.1 | |
path_provider_linux |
- | 2.2.2 | 2.2.2 | |
path_provider_platform_interface |
- | 2.1.3 | 2.1.3 | |
path_provider_windows |
- | 2.3.0 | 2.3.0 | |
permission_handler_android |
- | 14.1.0 | 14.1.0 | |
permission_handler_apple |
- | 9.6.1 | 9.6.1 | |
permission_handler_html |
- | 0.1.4+1 | 0.1.4+1 | |
permission_handler_platform_interface |
- | 4.4.1 | 4.4.1 | |
permission_handler_windows |
- | 0.2.2 | 0.2.2 | |
petitparser |
- | 7.0.2 | 7.0.2 | |
platform |
- | 3.1.6 | 3.1.6 | |
plugin_platform_interface |
- | 2.1.8 | 2.1.8 | |
riverpod |
- | 3.4.3 | 3.4.3 | |
shared_preferences |
- | 2.5.5 | 2.5.5 | |
shared_preferences_android |
- | 2.4.28 | 2.4.28 | |
shared_preferences_foundation |
- | 2.5.7 | 2.5.7 | |
shared_preferences_linux |
- | 2.4.1 | 2.4.1 | |
shared_preferences_platform_interface |
- | 2.4.2 | 2.4.2 | |
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 | |
sprintf |
- | 7.0.0 | 7.0.0 | |
stack_trace |
- | 1.12.2 | 1.12.2 | |
state_notifier |
- | 1.0.0 | 1.0.0 | |
stream_channel |
- | 2.1.4 | 2.1.4 | |
string_scanner |
- | 1.4.1 | 1.4.1 | |
term_glyph |
- | 1.2.2 | 1.2.2 | |
test_api |
- | 0.7.12 | 0.7.14 | |
typed_data |
- | 1.4.0 | 1.4.0 | |
uuid |
- | 4.6.0 | 4.6.0 | |
vector_math |
- | 2.4.2 | 2.4.2 | |
vm_service |
- | 15.3.0 | 15.3.0 | |
web |
- | 1.1.1 | 1.1.1 | |
xdg_directories |
- | 1.1.0 | 1.1.0 | |
xml |
- | 7.0.1 | 7.0.1 | |
yaml |
- | 3.1.4 | 3.1.4 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
The constraint `^15.1.1` on i18n_extension does not support the stable version `16.0.0`, that was published 1 days ago.
When i18n_extension is 30 days old, this package will no longer be awarded points in this category.
Try running dart pub upgrade --major-versions i18n_extension 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.23.19, Flutter 3.47.0, Dart 3.13.0.
Check the analysis log for details.