flutter_pack 1.1.0
flutter_pack: ^1.1.0 copied to clipboard
A Flutter utility package that provides database helpers, model/repository generators, string/date extensions, and shared preferences management to speed up app development.
We analyzed this package 16 hours ago, and awarded it 100 pub points (of a possible 160):
0/10 points: Provide a valid pubspec.yaml
Failed to verify repository URL.
Repository has no matching pubspec.yaml with name: flutter_pack.
Please provide a valid repository URL in pubspec.yaml, such that:
repositorycan be cloned,- a clone of the repository contains a
pubspec.yaml, which:,- contains
name: flutter_pack, - contains a
versionproperty, and, - does not contain a
publish_toproperty.
- contains
5/5 points: Provide a valid README.md
5/5 points: Provide a valid CHANGELOG.md
0/10 points: Use an OSI-approved license
No license was recognized.
Consider using an OSI-approved license in the LICENSE file to make it more accessible to the community.
0/10 points: 20% or more of the public API has dartdoc comments
6 out of 199 API elements (3.0 %) 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_pack.APIResponseUtility, flutter_pack.APIResponseUtility.APIResponseUtility.of, flutter_pack.APIResponseUtility.expect, flutter_pack.APIResponseUtility.expectedBodyErrors, flutter_pack.APIResponseUtility.headers.
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:flutter_pack/flutter_pack.dartthat imports:package:flutter_pack/src/preferences/base_preference.dartthat imports:package:flutter_pack/src/app_utility/app_utility.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 `Linux`.
Because:
package:flutter_pack/flutter_pack.dartthat imports:package:flutter_pack/src/preferences/base_preference.dartthat imports:package:flutter_pack/src/app_utility/app_utility.dartthat imports:package:package_info_plus/package_info_plus.dartthat imports:package:package_info_plus/src/package_info_plus_windows.dartthat imports:package:package_info_plus/src/file_version_info.dartthat imports:package:win32/win32.dartthat declares support for platforms:Windows.
Package does not support platform `macOS`.
Because:
package:flutter_pack/flutter_pack.dartthat imports:package:flutter_pack/src/preferences/base_preference.dartthat imports:package:flutter_pack/src/app_utility/app_utility.dartthat imports:package:package_info_plus/package_info_plus.dartthat imports:package:package_info_plus/src/package_info_plus_windows.dartthat imports:package:package_info_plus/src/file_version_info.dartthat imports:package:win32/win32.dartthat declares support for platforms:Windows.
Package does not support platform `Web`.
Because:
package:flutter_pack/flutter_pack.dartthat imports:package:flutter_pack/src/database/database_migrator.dartthat imports:package:sqflite/sqflite.dartthat declares support for platforms:Android,iOS,macOS.
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:flutter_pack/flutter_pack.dartthat imports:package:flutter_pack/src/preferences/base_preference.dartthat imports:package:flutter_pack/src/app_utility/app_utility.dartthat imports:package:package_info_plus/package_info_plus.dartthat imports:package:package_info_plus/src/package_info_plus_windows.dartthat imports:package:package_info_plus/src/file_version_info.dartthat imports:package:win32/win32.dartthat declares support for platforms:Windows.
Package does not support platform `iOS`.
Because:
package:flutter_pack/flutter_pack.dartthat imports:package:flutter_pack/src/preferences/base_preference.dartthat imports:package:flutter_pack/src/app_utility/app_utility.dartthat imports:package:package_info_plus/package_info_plus.dartthat imports:package:package_info_plus/src/package_info_plus_windows.dartthat imports:package:package_info_plus/src/file_version_info.dartthat imports:package:win32/win32.dartthat declares support for platforms:Windows.
40/50 points: code has no errors, warnings, lints, or formatting issues
Found 8 issues. Showing the first 2:
INFO: Statements in an if should be enclosed in a block.
lib/src/api_manager/base_api_manager.dart:82:7
╷
82 │ return http.Client();
│ ^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/api_manager/base_api_manager.dart
INFO: Use 'TypeName _' instead of a type literal.
lib/src/generators/base_model_generator.dart:162:16
╷
162 │ case int:
│ ^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/generators/base_model_generator.dart
0/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
asn1lib |
^1.1.0 |
1.6.5 | 1.6.5 | |
collection |
^1.18.0 |
1.19.1 | 1.19.1 | |
connectivity_plus |
^7.0.0 |
7.3.1 | 7.3.1 | |
crypto |
^3.0.7 |
3.0.7 | 3.0.7 | |
cupertino_icons |
^1.0.8 |
1.0.9 | 1.0.9 | |
flutter_isolate |
^2.1.0 |
2.1.0 | 2.1.0 | |
http |
^1.2.2 |
1.6.0 | 1.6.0 | |
http_certificate_pinning |
^3.0.1 |
3.0.2 | 3.0.2 | |
intl |
^0.20.2 |
0.20.2 | 0.20.3 | |
package_info_plus |
^9.0.0 |
9.0.1 | 10.2.1 | |
path |
^1.9.0 |
1.9.1 | 1.9.1 | |
pointycastle |
^4.0.0 |
4.0.0 | 4.0.0 | |
rsa_pkcs |
^2.1.0 |
2.1.0 | 2.1.0 | |
shared_preferences |
^2.5.3 |
2.5.5 | 2.5.5 | |
sqflite |
^2.4.2 |
2.4.3 | 2.4.3 | |
url_launcher |
^6.3.2 |
6.3.2 | 6.3.2 | |
uuid |
^4.5.1 |
4.6.0 | 4.6.0 | |
yaml |
^3.1.3 |
3.1.3 | 3.1.3 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
args |
- | 2.7.0 | 2.7.0 | |
async |
- | 2.13.1 | 2.13.1 | |
characters |
- | 1.4.1 | 1.4.1 | |
clock |
- | 1.1.2 | 1.1.2 | |
connectivity_plus_platform_interface |
- | 2.1.0 | 2.1.0 | |
convert |
- | 3.1.2 | 3.1.2 | |
dbus |
- | 0.7.14 | 0.7.14 | |
dio |
- | 5.11.0 | 5.11.0 | |
dio_web_adapter |
- | 2.2.1 | 2.2.1 | |
ffi |
- | 2.2.0 | 2.2.0 | |
file |
- | 7.0.1 | 7.0.1 | |
fixnum |
- | 1.1.1 | 1.1.1 | |
http_parser |
- | 4.1.2 | 4.1.2 | |
material_color_utilities |
- | 0.13.0 | 0.13.0 | |
meta |
- | 1.18.0 | 1.19.0 | |
mime |
- | 2.0.0 | 2.0.0 | |
nm |
- | 0.5.0 | 0.5.0 | |
package_info_plus_platform_interface |
- | 3.2.1 | 4.1.0 | |
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 | |
petitparser |
- | 7.0.2 | 7.0.2 | |
platform |
- | 3.1.6 | 3.1.6 | |
plugin_platform_interface |
- | 2.1.8 | 2.1.8 | |
shared_preferences_android |
- | 2.4.27 | 2.4.27 | |
shared_preferences_foundation |
- | 2.5.6 | 2.5.6 | |
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 | |
sqflite_android |
- | 2.4.3 | 2.4.3 | |
sqflite_common |
- | 2.5.11 | 2.5.11 | |
sqflite_darwin |
- | 2.4.3+1 | 2.4.3+1 | |
sqflite_platform_interface |
- | 2.4.1 | 2.4.1 | |
string_scanner |
- | 1.4.1 | 1.4.1 | |
synchronized |
- | 3.4.1+1 | 3.4.1+1 | |
term_glyph |
- | 1.2.2 | 1.2.2 | |
typed_data |
- | 1.4.0 | 1.4.0 | |
url_launcher_android |
- | 6.3.32 | 6.3.32 | |
url_launcher_ios |
- | 6.4.1 | 6.4.1 | |
url_launcher_linux |
- | 3.2.2 | 3.2.2 | |
url_launcher_macos |
- | 3.2.5 | 3.2.5 | |
url_launcher_platform_interface |
- | 2.3.2 | 2.3.2 | |
url_launcher_web |
- | 2.4.3 | 2.4.3 | |
url_launcher_windows |
- | 3.1.5 | 3.1.5 | |
vector_math |
- | 2.2.0 | 2.4.1 | |
web |
- | 1.1.1 | 1.1.1 | |
win32 |
- | 5.15.0 | 6.3.0 | |
xdg_directories |
- | 1.1.0 | 1.1.0 | |
xml |
- | 6.6.1 | 7.0.1 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
The constraint `^9.0.0` on package_info_plus does not support the stable version `10.0.0`.
Try running dart pub upgrade --major-versions package_info_plus 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.14, Flutter 3.44.5, Dart 3.12.2.
Check the analysis log for details.