pharmago_packages 1.0.2 copy "pharmago_packages: ^1.0.2" to clipboard
pharmago_packages: ^1.0.2 copied to clipboard

Reusable Flutter components for pharmacy applications. Provides cross-platform widgets for barcode scanning (camera and external USB readers) and comprehensive PDF generation with KPIs, tables, and charts.

115/ 160
pub points
250
downloads

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

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

Failed check 0/10 points: Provide a valid pubspec.yaml

The package description is too long.

Search engines display only the first part of the description. Try to keep the value of the description field in your package's pubspec.yaml file between 60 and 180 characters.

Homepage URL doesn't exist.

At the time of the analysis https://github.com/cesarmod2017/pharmago_packages was unreachable. Make sure that the website is reachable via HEAD requests.

Repository URL doesn't exist.

At the time of the analysis https://github.com/cesarmod2017/pharmago_packages was unreachable. Make sure that the website is reachable via HEAD requests.

Issue tracker URL doesn't exist.

At the time of the analysis https://github.com/cesarmod2017/pharmago_packages/issues was unreachable. Make sure that the website is reachable via HEAD requests.

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

Failed check 0/5 points: Provide a valid CHANGELOG.md

`CHANGELOG.md` does not contain reference to the current version ("1.0.2").

Changelog entries help developers follow the progress of your package. Check out the Dart conventions for Maintaining a package changelog.

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

459 out of 476 API elements (96.4 %) have documentation comments.

Some symbols that are missing documentation: pharmago_packages.BarcodeKeyboardListenerConfig.BarcodeKeyboardListenerConfig.new, pharmago_packages.BarcodeKeyboardListenerWidget.BarcodeKeyboardListenerWidget.new, pharmago_packages.BarcodeKeyboardListenerWidgetState, pharmago_packages.BarcodeKeyboardListenerWidgetState.BarcodeKeyboardListenerWidgetState.new, pharmago_packages.BarcodeScannerConfig.BarcodeScannerConfig.new.

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:pharmago_packages/pharmago_packages.dart that imports:
  • package:pharmago_packages/src/barcode/barcode.dart that imports:
  • package:pharmago_packages/src/barcode/barcode_keyboard_listener.dart that imports:
  • package:system_info_plus/system_info_plus.dart that declares support for platforms: Android, iOS.
Package does not support platform `Linux`.

Because:

  • package:pharmago_packages/pharmago_packages.dart that imports:
  • package:pharmago_packages/src/barcode/barcode.dart that imports:
  • package:pharmago_packages/src/barcode/barcode_keyboard_listener.dart that imports:
  • package:system_info_plus/system_info_plus.dart that declares support for platforms: Android, iOS.
Package does not support platform `macOS`.

Because:

  • package:pharmago_packages/pharmago_packages.dart that imports:
  • package:pharmago_packages/src/barcode/barcode.dart that imports:
  • package:pharmago_packages/src/barcode/barcode_keyboard_listener.dart that imports:
  • package:system_info_plus/system_info_plus.dart that declares support for platforms: Android, iOS.
Package does not support platform `Web`.

Because:

  • package:pharmago_packages/pharmago_packages.dart that imports:
  • package:pharmago_packages/src/barcode/barcode.dart that imports:
  • package:pharmago_packages/src/barcode/barcode_keyboard_listener.dart that imports:
  • package:system_info_plus/system_info_plus.dart that declares support for platforms: Android, iOS.

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:pharmago_packages/pharmago_packages.dart that imports:
  • package:pharmago_packages/src/barcode/barcode.dart that imports:
  • package:pharmago_packages/src/barcode/barcode_keyboard_listener.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:pharmago_packages/pharmago_packages.dart that imports:
  • package:pharmago_packages/src/barcode/barcode.dart that imports:
  • package:pharmago_packages/src/barcode/barcode_keyboard_listener.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.
Failed report section
Pass static analysis
30 / 50trigger folding of the section

Failed check 30/50 points: code has no errors, warnings, lints, or formatting issues

Found 4 issues. Showing the first 2:

WARNING: Dead code.

lib/src/pdf_pharmago/sections/pdf_table_section.dart:636:41

    ╷
636 │         fontSize: config.headerFontSize ?? headers.first.fontSize,
    │                                         ^^^^^^^^^^^^^^^^^^^^^^^^^
    ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/src/pdf_pharmago/sections/pdf_table_section.dart

WARNING: The left operand can't be null, so the right operand is never executed.

lib/src/pdf_pharmago/sections/pdf_table_section.dart:636:44

    ╷
636 │         fontSize: config.headerFontSize ?? headers.first.fontSize,
    │                                            ^^^^^^^^^^^^^^^^^^^^^^
    ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/src/pdf_pharmago/sections/pdf_table_section.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
audioplayers ^6.4.0 6.5.1 6.5.1
device_info_plus ^12.2.0 12.3.0 12.3.0
gap ^3.0.1 3.0.1 3.0.1
get ^4.7.3 4.7.3 4.7.3
mobile_scanner ^6.0.11 6.0.11 7.1.4
pdf ^3.11.2 3.11.3 3.11.3
permission_handler ^12.0.1 12.0.1 12.0.1
printing ^5.14.2 5.14.2 5.14.2
system_info_plus ^0.0.6 0.0.6 0.0.6
Transitive dependencies
Package Constraint Compatible Latest Notes
archive - 4.0.7 4.0.7
async - 2.13.0 2.13.0
audioplayers_android - 5.2.1 5.2.1
audioplayers_darwin - 6.3.0 6.3.0
audioplayers_linux - 4.2.1 4.2.1
audioplayers_platform_interface - 7.1.1 7.1.1
audioplayers_web - 5.1.1 5.1.1
audioplayers_windows - 4.2.1 4.2.1
barcode - 2.2.9 2.2.9
bidi - 2.0.13 2.0.13
characters - 1.4.0 1.4.1
collection - 1.19.1 1.19.1
crypto - 3.0.7 3.0.7
device_info_plus_platform_interface - 7.0.3 7.0.3
ffi - 2.1.5 2.1.5
file - 7.0.1 7.0.1
fixnum - 1.1.1 1.1.1
http - 1.6.0 1.6.0
http_parser - 4.1.2 4.1.2
image - 4.5.4 4.7.2
material_color_utilities - 0.11.1 0.13.0
meta - 1.17.0 1.17.0
path - 1.9.1 1.9.1
path_parsing - 1.1.0 1.1.0
path_provider - 2.1.5 2.1.5
path_provider_android - 2.2.22 2.2.22
path_provider_foundation - 2.5.1 2.5.1
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
pdf_widget_wrapper - 1.0.4 1.0.4
permission_handler_android - 13.0.1 13.0.1
permission_handler_apple - 9.4.7 9.4.7
permission_handler_html - 0.1.3+5 0.1.3+5
permission_handler_platform_interface - 4.3.0 4.3.0
permission_handler_windows - 0.2.1 0.2.1
petitparser - 7.0.1 7.0.1
platform - 3.1.6 3.1.6
plugin_platform_interface - 2.1.8 2.1.8
posix - 6.0.3 6.0.3
qr - 3.0.2 3.0.2
source_span - 1.10.1 1.10.1
string_scanner - 1.4.1 1.4.1
synchronized - 3.4.0 3.4.0
term_glyph - 1.2.2 1.2.2
typed_data - 1.4.0 1.4.0
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 - 2.1.0 2.1.0
xdg_directories - 1.1.0 1.1.0
xml - 6.6.1 6.6.1

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

The constraint `^6.0.11` on mobile_scanner does not support the stable version `7.0.0`.

Try running dart pub upgrade --major-versions mobile_scanner 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.5, Flutter 3.38.5, Dart 3.10.4.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
0
likes
115
points
250
downloads

Publisher

unverified uploader

Weekly Downloads

Reusable Flutter components for pharmacy applications. Provides cross-platform widgets for barcode scanning (camera and external USB readers) and comprehensive PDF generation with KPIs, tables, and charts.

Repository (GitHub)
View/report issues

Topics

#barcode #scanner #pdf #pharmacy #widget

Documentation

API reference

License

MIT (license)

Dependencies

audioplayers, device_info_plus, flutter, gap, get, mobile_scanner, pdf, permission_handler, printing, system_info_plus

More

Packages that depend on pharmago_packages