common_utils2 1.0.3
common_utils2: ^1.0.3 copied to clipboard
A comprehensive Flutter utilities package with 24+ utilities for rapid app development. Includes banking, currency conversion, networking, and more.
We analyzed this package 6 days ago, and awarded it 150 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: MIT.
10/10 points: 20% or more of the public API has dartdoc comments
1263 out of 1928 API elements (65.5 %) have documentation comments.
Some symbols that are missing documentation: common_utils2, common_utils2.AccountResolutionResult.AccountResolutionResult.new, common_utils2.AccountResolutionResult.accountName, common_utils2.AccountResolutionResult.accountNumber, common_utils2.AccountResolutionResult.bankId.
10/10 points: Package has 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:common_utils2/common_utils2.dartthat imports:package:common_utils2/src/medias/image/image.dartthat imports:package:common_utils2/src/medias/image/widgets/cached_image_widget.dartthat imports:package:cached_network_image/cached_network_image.dartthat imports:package:cached_network_image/src/image_provider/cached_network_image_provider.dartthat imports:package:flutter_cache_manager/flutter_cache_manager.dartthat imports:package:flutter_cache_manager/src/storage/cache_info_repositories/cache_info_repositories.dartthat imports:package:flutter_cache_manager/src/storage/cache_info_repositories/cache_object_provider.dartthat imports:package:sqflite/sqflite.dartthat declares support for platforms:Android,iOS,macOS.
Package does not support platform `Linux`.
Because:
package:common_utils2/common_utils2.dartthat imports:package:common_utils2/src/medias/image/image.dartthat imports:package:common_utils2/src/medias/image/widgets/cached_image_widget.dartthat imports:package:cached_network_image/cached_network_image.dartthat imports:package:cached_network_image/src/image_provider/cached_network_image_provider.dartthat imports:package:flutter_cache_manager/flutter_cache_manager.dartthat imports:package:flutter_cache_manager/src/storage/cache_info_repositories/cache_info_repositories.dartthat imports:package:flutter_cache_manager/src/storage/cache_info_repositories/cache_object_provider.dartthat imports:package:sqflite/sqflite.dartthat declares support for platforms:Android,iOS,macOS.
Package does not support platform `macOS`.
Because:
package:common_utils2/common_utils2.dartthat imports:package:common_utils2/src/medias/media/media.dartthat imports:package:common_utils2/src/medias/media/widgets/media_grid_view.dartthat imports:package:common_utils2/src/medias/media/widgets/media_feed_item.dartthat imports:package:chewie/chewie.dartthat imports:package:chewie/src/material/material_desktop_controls.dartthat imports:package:chewie/src/chewie_player.dartthat imports:package:wakelock_plus/wakelock_plus.dartthat imports:package:wakelock_plus/src/wakelock_plus_io_plugin.dartthat imports:package:wakelock_plus/src/wakelock_plus_windows_plugin.dartthat imports:package:win32/win32.dartthat declares support for platforms:Windows.
Package does not support platform `Web`.
Because:
package:common_utils2/common_utils2.dartthat imports:package:common_utils2/src/medias/image/image.dartthat imports:package:common_utils2/src/medias/image/widgets/cached_image_widget.dartthat imports:package:cached_network_image/cached_network_image.dartthat imports:package:cached_network_image/src/image_provider/cached_network_image_provider.dartthat imports:package:flutter_cache_manager/flutter_cache_manager.dartthat imports:package:flutter_cache_manager/src/storage/file_system/file_system.dartthat imports:package:flutter_cache_manager/src/storage/file_system/file_system_io.dartthat imports:package:path_provider/path_provider.dartthat declares support for platforms:Android,iOS,Windows,Linux,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:common_utils2/common_utils2.dartthat imports:package:common_utils2/src/medias/media/media.dartthat imports:package:common_utils2/src/medias/media/widgets/media_grid_view.dartthat imports:package:common_utils2/src/medias/media/widgets/media_feed_item.dartthat imports:package:chewie/chewie.dartthat imports:package:chewie/src/material/material_desktop_controls.dartthat imports:package:chewie/src/chewie_player.dartthat imports:package:wakelock_plus/wakelock_plus.dartthat imports:package:wakelock_plus/src/wakelock_plus_io_plugin.dartthat imports:package:wakelock_plus/src/wakelock_plus_windows_plugin.dartthat imports:package:win32/win32.dartthat declares support for platforms:Windows.
Package does not support platform `iOS`.
Because:
package:common_utils2/common_utils2.dartthat imports:package:common_utils2/src/medias/media/media.dartthat imports:package:common_utils2/src/medias/media/widgets/media_grid_view.dartthat imports:package:common_utils2/src/medias/media/widgets/media_feed_item.dartthat imports:package:chewie/chewie.dartthat imports:package:chewie/src/material/material_desktop_controls.dartthat imports:package:chewie/src/chewie_player.dartthat imports:package:wakelock_plus/wakelock_plus.dartthat imports:package:wakelock_plus/src/wakelock_plus_io_plugin.dartthat imports:package:wakelock_plus/src/wakelock_plus_windows_plugin.dartthat imports:package:win32/win32.dartthat declares support for platforms:Windows.
40/50 points: code has no errors, warnings, lints, or formatting issues
Found 31 issues. Showing the first 2:
INFO: Angle brackets will be interpreted as HTML.
lib/common_utils2.dart:146:18
╷
146 │ /// Usage: Result<T> where T is the success data type
│ ^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/common_utils2.dart
INFO: The import of 'medias/downloads/download_cubit.dart' is unnecessary because all of the used elements are also provided by the import of 'package:common_utils2/common_utils2.dart'.
lib/src/common_utils_initializer.dart:5:8
╷
5 │ import 'medias/downloads/download_cubit.dart';
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/common_utils_initializer.dart
10/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
bloc |
^9.2.0 |
9.2.0 | 9.2.0 | |
cached_network_image |
^3.4.1 |
3.4.1 | 3.4.1 | |
chewie |
^1.13.0 |
1.13.0 | 1.13.0 | |
connectivity_plus |
^7.0.0 |
7.0.0 | 7.0.0 | |
crypto |
^3.0.3 |
3.0.7 | 3.0.7 | |
device_info_plus |
^12.3.0 |
12.3.0 | 12.3.0 | |
dio |
^5.9.1 |
5.9.2 | 5.9.2 | |
encrypt |
^5.0.3 |
5.0.3 | 5.0.3 | |
equatable |
^2.0.8 |
2.0.8 | 2.0.8 | |
firebase_messaging |
^16.1.1 |
16.1.2 | 16.1.2 | |
flutter_bloc |
^9.1.1 |
9.1.1 | 9.1.1 | |
flutter_cache_manager |
^3.4.1 |
3.4.1 | 3.4.1 | |
flutter_image_compress |
^2.1.0 |
2.4.0 | 2.4.0 | |
flutter_local_notifications |
^20.1.0 |
20.1.0 | 21.0.0 | |
flutter_secure_storage |
^10.0.0 |
10.0.0 | 10.0.0 | |
freezed_annotation |
^3.1.0 |
3.1.0 | 3.1.0 | |
geocoding |
^4.0.0 |
4.0.0 | 4.0.0 | |
geolocator |
^14.0.2 |
14.0.2 | 14.0.2 | |
hive_flutter |
^1.1.0 |
1.1.0 | 1.1.0 | |
image_picker |
^1.0.7 |
1.2.1 | 1.2.1 | |
injectable |
^2.7.1+4 |
2.7.1+4 | 2.7.1+4 | |
intl |
^0.20.2 |
0.20.2 | 0.20.2 | |
json_annotation |
^4.11.0 |
4.11.0 | 4.11.0 | |
package_info_plus |
^9.0.0 |
9.0.0 | 9.0.0 | |
path |
^1.8.3 |
1.9.1 | 1.9.1 | |
path_provider |
^2.1.2 |
2.1.5 | 2.1.5 | |
pdfx |
^2.9.2 |
2.9.2 | 2.9.2 | |
permission_handler |
^12.0.1 |
12.0.1 | 12.0.1 | |
shared_preferences |
^2.2.2 |
2.5.4 | 2.5.4 | |
talker |
^5.1.13 |
5.1.15 | 5.1.15 | |
talker_bloc_logger |
^5.1.13 |
5.1.15 | 5.1.15 | |
talker_dio_logger |
^5.1.13 |
5.1.15 | 5.1.15 | |
talker_flutter |
^5.1.13 |
5.1.15 | 5.1.15 | |
video_player |
^2.11.0 |
2.11.0 | 2.11.0 | |
visibility_detector |
^0.4.0+2 |
0.4.0+2 | 0.4.0+2 |
Transitive dependencies
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
The constraint `^20.1.0` on flutter_local_notifications does not support the stable version `21.0.0`, that was published 1 days ago.
When flutter_local_notifications is 30 days old, this package will no longer be awarded points in this category.
Try running dart pub upgrade --major-versions flutter_local_notifications 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.10, Flutter 3.41.2, Dart 3.11.0.
Check the analysis log for details.