luoyi_flutter_base 1.4.0 luoyi_flutter_base: ^1.4.0 copied to clipboard
my flutter base library.
We analyzed this package 3 days ago, and awarded it 100 pub points (of a possible 140):
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.
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
568 out of 846 API elements (67.1 %) have documentation comments.
Some symbols that are missing documentation: l10n
, l10n.AppLocalizationDelegate
, l10n.AppLocalizationDelegate.AppLocalizationDelegate
, l10n.AppLocalizationDelegate.supportedLocales
, l10n.S
.
0/10 points: Package has an example
No example found.
See package layout guidelines on how to add an example.
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:luoyi_flutter_base/luoyi_flutter_base.dart
that imports:package:fluttertoast/fluttertoast.dart
that declares support for platforms:Android
,iOS
,Web
.
Package does not support platform `Linux`.
Because:
package:luoyi_flutter_base/luoyi_flutter_base.dart
that imports:package:luoyi_flutter_font/luoyi_flutter_font.dart
that imports:package:device_info_plus/device_info_plus.dart
that imports:package:device_info_plus/src/device_info_plus_windows.dart
that imports:package:win32_registry/win32_registry.dart
that declares support for platforms:Windows
.
Package does not support platform `macOS`.
Because:
package:luoyi_flutter_base/luoyi_flutter_base.dart
that imports:package:luoyi_flutter_font/luoyi_flutter_font.dart
that imports:package:device_info_plus/device_info_plus.dart
that imports:package:device_info_plus/src/device_info_plus_windows.dart
that imports:package:win32_registry/win32_registry.dart
that declares support for platforms:Windows
.
Package not compatible with platform Web
Because:
package:luoyi_flutter_base/luoyi_flutter_base.dart
that imports:package:luoyi_flutter_base/src/plugins/http/http.dart
that imports:package:luoyi_flutter_base/src/plugins/http/interceptor/retry.dart
that imports:package:dio_smart_retry/dio_smart_retry.dart
that imports:package:dio_smart_retry/src/retry_interceptor.dart
that imports:package:dio_smart_retry/src/multipart_file_recreatable.dart
that 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:luoyi_flutter_base/luoyi_flutter_base.dart
that imports:package:luoyi_flutter_font/luoyi_flutter_font.dart
that imports:package:device_info_plus/device_info_plus.dart
that imports:package:device_info_plus/src/device_info_plus_windows.dart
that imports:package:win32_registry/win32_registry.dart
that declares support for platforms:Windows
.
Package does not support platform `iOS`.
Because:
package:luoyi_flutter_base/luoyi_flutter_base.dart
that imports:package:luoyi_flutter_font/luoyi_flutter_font.dart
that imports:package:device_info_plus/device_info_plus.dart
that imports:package:device_info_plus/src/device_info_plus_windows.dart
that imports:package:win32_registry/win32_registry.dart
that declares support for platforms:Windows
.
30/50 points: code has no errors, warnings, lints, or formatting issues
Found 37 issues. Showing the first 2:
WARNING: Unused import: 'dart:collection'.
lib/luoyi_flutter_base.dart:4:8
╷
4 │ import 'dart:collection';
│ ^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/luoyi_flutter_base.dart
INFO: 'useMaterial3' is deprecated and shouldn't be used. Use a ThemeData constructor (.from, .light, or .dark) instead. These constructors all have a useMaterial3 argument, and they set appropriate default values based on its value. See the useMaterial3 API documentation for full details. This feature was deprecated after v3.13.0-0.2.pre.
lib/src/app/extension.dart:108:7
╷
108 │ useMaterial3: isM3,
│ ^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/app/extension.dart
10/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest |
---|---|---|---|
collection |
^1.18.0 |
1.18.0 | 1.18.0 |
dio |
^5.4.2 |
5.4.3+1 | 5.4.3+1 |
dio_smart_retry |
^6.0.0 |
6.0.0 | 6.0.0 |
flutter |
flutter |
0.0.0 | 0.0.0 |
flutter_hooks |
^0.20.5 |
0.20.5 | 0.20.5 |
flutter_localizations |
flutter |
0.0.0 | 0.0.0 |
fluttertoast |
^8.2.5 |
8.2.5 | 8.2.5 |
gap |
^3.0.1 |
3.0.1 | 3.0.1 |
intl |
^0.19.0 |
0.19.0 | 0.19.0 |
localstorage |
^5.0.0 |
5.0.0 | 5.0.0 |
luoyi_dart_base |
^1.0.0 |
1.3.1 | 1.3.1 |
luoyi_flutter_font |
^1.0.0 |
1.0.7 | 1.0.7 |
mini_getx |
^5.0.0 |
5.0.3 | 5.0.3 |
path_provider |
^2.1.3 |
2.1.3 | 2.1.3 |
super_sliver_list |
^0.4.1 |
0.4.1 | 0.4.1 |
Transitive dependencies
Package | Constraint | Compatible | Latest |
---|---|---|---|
archive |
- | 3.5.1 | 3.5.1 |
async |
- | 2.11.0 | 2.11.0 |
characters |
- | 1.3.0 | 1.3.0 |
clock |
- | 1.1.1 | 1.1.1 |
crypto |
- | 3.0.3 | 3.0.3 |
device_info_plus |
- | 10.1.0 | 10.1.0 |
device_info_plus_platform_interface |
- | 7.0.0 | 7.0.0 |
ffi |
- | 2.1.2 | 2.1.2 |
file |
- | 7.0.0 | 7.0.0 |
fixnum |
- | 1.1.0 | 1.1.0 |
flutter_web_plugins |
- | 0.0.0 | 0.0.0 |
http |
- | 1.2.1 | 1.2.1 |
http_parser |
- | 4.0.2 | 4.0.2 |
logger |
- | 2.3.0 | 2.3.0 |
logging |
- | 1.2.0 | 1.2.0 |
material_color_utilities |
- | 0.8.0 | 0.11.1 |
meta |
- | 1.12.0 | 1.15.0 |
path |
- | 1.9.0 | 1.9.0 |
path_provider_android |
- | 2.2.4 | 2.2.4 |
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.2.1 | 2.2.1 |
platform |
- | 3.1.4 | 3.1.4 |
plugin_platform_interface |
- | 2.1.8 | 2.1.8 |
sky_engine |
- | 0.0.99 | 0.0.99 |
source_span |
- | 1.10.0 | 1.10.0 |
sprintf |
- | 7.0.0 | 7.0.0 |
string_scanner |
- | 1.2.0 | 1.2.0 |
term_glyph |
- | 1.2.1 | 1.2.1 |
typed_data |
- | 1.3.2 | 1.3.2 |
uuid |
- | 4.4.0 | 4.4.0 |
vector_math |
- | 2.1.4 | 2.1.4 |
web |
- | 0.5.1 | 0.5.1 |
win32 |
- | 5.5.1 | 5.5.1 |
win32_registry |
- | 1.1.3 | 1.1.3 |
xdg_directories |
- | 1.0.4 | 1.0.4 |
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
Analyzed with Pana 0.22.3
, Flutter 3.22.0
, Dart 3.4.0
.
Check the analysis log for details.