common_utils2 1.0.0 copy "common_utils2: ^1.0.0" to clipboard
common_utils2: ^1.0.0 copied to clipboard

A comprehensive Flutter utilities package with 24+ utilities for rapid app development. Includes banking, currency conversion, networking, and more.

140/ 160
pub points
64
downloads

We analyzed this package 27 hours ago, and awarded it 140 pub points (of a possible 160):

Passed report section
Follow Dart file conventions
30 / 30trigger folding of the section

Passed check 10/10 points: Provide a valid pubspec.yaml

Passed check 5/5 points: Provide a valid README.md

Passed check 5/5 points: Provide a valid CHANGELOG.md

Passed check 10/10 points: Use an OSI-approved license

Detected license: MIT.

Passed report section
Provide documentation
20 / 20trigger folding of the section

Passed check 10/10 points: 20% or more of the public API has dartdoc comments

885 out of 1287 API elements (68.8 %) 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.

Passed check 10/10 points: Package has an example

Passed report section
Platform support
20 / 20trigger folding of the section

Passed check 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.dart that imports:
  • package:common_utils2/src/utils/image_utils.dart that imports:
  • package:flutter_image_compress/flutter_image_compress.dart that declares support for platforms: Android, iOS, macOS, Web.
Package does not support platform `Linux`.

Because:

  • package:common_utils2/common_utils2.dart that imports:
  • package:common_utils2/src/utils/image_utils.dart that imports:
  • package:flutter_image_compress/flutter_image_compress.dart that declares support for platforms: Android, iOS, macOS, Web.
Package does not support platform `macOS`.

Because:

  • package:common_utils2/common_utils2.dart that imports:
  • package:common_utils2/src/services/network_connectivity.dart that imports:
  • package:connectivity_plus/connectivity_plus.dart that imports:
  • package:connectivity_plus/src/connectivity_plus_linux.dart that imports:
  • package:nm/nm.dart that declares support for platforms: Linux.
Package does not support platform `Web`.

Because:

  • package:common_utils2/common_utils2.dart that imports:
  • package:common_utils2/src/utils/file_utils.dart that imports:
  • package:path_provider/path_provider.dart that 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.dart that imports:
  • package:common_utils2/src/services/network_connectivity.dart that imports:
  • package:connectivity_plus/connectivity_plus.dart that imports:
  • package:connectivity_plus/src/connectivity_plus_linux.dart that imports:
  • package:nm/nm.dart that declares support for platforms: Linux.
Package does not support platform `iOS`.

Because:

  • package:common_utils2/common_utils2.dart that imports:
  • package:common_utils2/src/services/network_connectivity.dart that imports:
  • package:connectivity_plus/connectivity_plus.dart that imports:
  • package:connectivity_plus/src/connectivity_plus_linux.dart that imports:
  • package:nm/nm.dart that declares support for platforms: Linux.
Partially passed report section
Pass static analysis
40 / 50trigger folding of the section

Partially passed check 40/50 points: code has no errors, warnings, lints, or formatting issues

Found 12 issues. Showing the first 2:

INFO: Angle brackets will be interpreted as HTML.

lib/common_utils2.dart:133:18

    ╷
133 │ /// 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: Angle brackets will be interpreted as HTML.

lib/src/extensions/collection_extensions.dart:340:23

    ╷
340 │ /// Extension for List<num>.
    │                       ^^^^^
    ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/src/extensions/collection_extensions.dart

Failed report section
Support up-to-date dependencies
30 / 40trigger folding of the section

Failed check 0/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
connectivity_plus ^7.0.0 7.0.0 7.0.0
crypto ^3.0.3 3.0.7 3.0.7
device_info_plus ^10.1.0 10.1.2 12.3.0
dio ^5.9.1 5.9.1 5.9.1
encrypt ^5.0.3 5.0.3 5.0.3
flutter_image_compress ^2.1.0 2.4.0 2.4.0
geocoding ^3.0.0 3.0.0 4.0.0
geolocator ^11.0.0 11.1.0 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
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
shared_preferences ^2.2.2 2.5.4 2.5.4
talker ^5.1.13 5.1.13 5.1.13
talker_dio_logger ^5.1.13 5.1.13 5.1.13
talker_flutter ^5.1.13 5.1.13 5.1.13
Transitive dependencies
Package Constraint Compatible Latest Notes
ansicolor - 2.0.3 2.0.3
args - 2.7.0 2.7.0
asn1lib - 1.6.5 1.6.5
async - 2.13.0 2.13.0
characters - 1.4.0 1.4.1
clock - 1.1.2 1.1.2
code_assets - 1.0.0 1.0.0
collection - 1.19.1 1.19.1
connectivity_plus_platform_interface - 2.0.1 2.0.1
convert - 3.1.2 3.1.2
cross_file - 0.3.5+2 0.3.5+2
dbus - 0.7.12 0.7.12
device_info_plus_platform_interface - 7.0.3 7.0.3
dio_web_adapter - 2.1.1 2.1.1
ffi - 2.1.5 2.1.5
file - 7.0.1 7.0.1
file_selector_linux - 0.9.4 0.9.4
file_selector_macos - 0.9.5 0.9.5
file_selector_platform_interface - 2.7.0 2.7.0
file_selector_windows - 0.9.3+5 0.9.3+5
fixnum - 1.1.1 1.1.1
flutter_image_compress_common - 1.0.6 1.0.6
flutter_image_compress_macos - 1.0.3 1.0.3
flutter_image_compress_ohos - 0.0.3 0.0.3
flutter_image_compress_platform_interface - 1.0.5 1.0.5
flutter_image_compress_web - 0.1.5 0.1.5
flutter_plugin_android_lifecycle - 2.0.33 2.0.33
geocoding_android - 3.3.1 4.0.1
geocoding_ios - 3.1.0 3.1.0
geocoding_platform_interface - 3.2.0 5.0.0
geolocator_android - 4.6.2 5.0.2
geolocator_apple - 2.3.13 2.3.13
geolocator_platform_interface - 4.2.6 4.2.6
geolocator_web - 3.0.0 4.1.3
geolocator_windows - 0.2.5 0.2.5
get_it - 9.2.0 9.2.0
glob - 2.1.3 2.1.3
group_button - 5.3.4 5.3.4
hive - 2.2.3 2.2.3
hooks - 1.0.1 1.0.1
http - 1.6.0 1.6.0
http_parser - 4.1.2 4.1.2
image_picker_android - 0.8.13+13 0.8.13+13
image_picker_for_web - 3.1.1 3.1.1
image_picker_ios - 0.8.13+6 0.8.13+6
image_picker_linux - 0.2.2 0.2.2
image_picker_macos - 0.2.2+1 0.2.2+1
image_picker_platform_interface - 2.11.1 2.11.1
image_picker_windows - 0.2.2 0.2.2
js - 0.7.2 0.7.2 Discontinued
logging - 1.3.0 1.3.0
material_color_utilities - 0.11.1 0.13.0
meta - 1.17.0 1.18.1
mime - 2.0.0 2.0.0
native_toolchain_c - 0.17.4 0.17.4
nm - 0.5.0 0.5.0
objective_c - 9.3.0 9.3.0
package_info_plus_platform_interface - 3.2.1 3.2.1
path_provider_android - 2.2.22 2.2.22
path_provider_foundation - 2.6.0 2.6.0
path_provider_linux - 2.2.1 2.2.1
path_provider_platform_interface - 2.1.2 2.1.2
path_provider_windows - 2.3.0 2.3.0
petitparser - 7.0.1 7.0.1
platform - 3.1.6 3.1.6
plugin_platform_interface - 2.1.8 2.1.8
pointycastle - 3.9.1 4.0.0
pub_semver - 2.2.0 2.2.0
share_plus - 12.0.1 12.0.1
share_plus_platform_interface - 6.1.0 6.1.0
shared_preferences_android - 2.4.20 2.4.20
shared_preferences_foundation - 2.5.6 2.5.6
shared_preferences_linux - 2.4.1 2.4.1
shared_preferences_platform_interface - 2.4.1 2.4.1
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
string_scanner - 1.4.1 1.4.1
talker_logger - 5.1.13 5.1.13
term_glyph - 1.2.2 1.2.2
typed_data - 1.4.0 1.4.0
url_launcher_linux - 3.2.2 3.2.2
url_launcher_platform_interface - 2.3.2 2.3.2
url_launcher_web - 2.4.2 2.4.2
url_launcher_windows - 3.1.5 3.1.5
uuid - 4.5.2 4.5.2
vector_math - 2.2.0 2.2.0
web - 1.1.1 1.1.1
win32 - 5.15.0 5.15.0
win32_registry - 1.1.5 2.1.0
xdg_directories - 1.1.0 1.1.0
xml - 6.6.1 6.6.1
yaml - 3.1.3 3.1.3

To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.

Found 3 issues. Showing the first 2:

The constraint `^10.1.0` on device_info_plus does not support the stable version `11.0.0`.

Try running dart pub upgrade --major-versions device_info_plus to update the constraint.

The constraint `^3.0.0` on geocoding does not support the stable version `4.0.0`.

Try running dart pub upgrade --major-versions geocoding to update the constraint.

Passed check 10/10 points: Package supports latest stable Dart and Flutter SDKs

Passed check 20/20 points: Compatible with dependency constraint lower bounds

pub downgrade does not expose any static analysis error.

Analyzed with Pana 0.23.9, Flutter 3.38.8, Dart 3.10.7.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
4
likes
140
points
64
downloads

Publisher

unverified uploader

Weekly Downloads

A comprehensive Flutter utilities package with 24+ utilities for rapid app development. Includes banking, currency conversion, networking, and more.

Repository (GitHub)
View/report issues

Documentation

Documentation
API reference

License

MIT (license)

Dependencies

bloc, connectivity_plus, crypto, device_info_plus, dio, encrypt, flutter, flutter_image_compress, geocoding, geolocator, hive_flutter, image_picker, injectable, intl, package_info_plus, path, path_provider, shared_preferences, talker, talker_dio_logger, talker_flutter

More

Packages that depend on common_utils2