offline_first_fhir_client 1.0.3 copy "offline_first_fhir_client: ^1.0.3" to clipboard
offline_first_fhir_client: ^1.0.3 copied to clipboard

The offline_first_fhir_client library provides a comprehensive solution for managing and syncing FHIR resources in Flutter applications with offline-first capabilities. It is designed for developers b [...]

110/ 160
pub points
661
downloads

We analyzed this package 8 days ago, and awarded it 110 pub points (of a possible 160):

Failed report section
Follow Dart file conventions
20 / 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/tdh-foundation/offline_first_fhir_client/tree/dev was unreachable. Make sure that the website is reachable via HEAD requests.

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.

Partially passed report section
Provide documentation
10 / 20trigger folding of the section

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

23 out of 193 API elements (11.9 %) 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: offline_first_fhir_client, offline_first_fhir_client.BabyData, offline_first_fhir_client.BabyData.BabyData.new, offline_first_fhir_client.BabyData.amnioticFluid, offline_first_fhir_client.BabyData.amountOfmeconium.

Passed check 10/10 points: Package has an example

Partially passed report section
Platform support
10 / 20trigger folding of the section

Partially passed check 10/20 points: Supports 6 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

  • ✓ Android

  • ✓ iOS

  • ✓ Windows

  • ✓ Linux

  • ✓ macOS

  • ✓ Web

These issues are present but do not affect the score, because they may not originate in your package:

Package not compatible with platform Web

Because:

  • package:offline_first_fhir_client/offline_first_fhir_client.dart that imports:
  • package:offline_first_fhir_client/src/offline_first_fhir_client_service/offline_first_fhir_client_service.dart that imports:
  • package:offline_first_fhir_client/src/sync_service/syncing_helping_functions.dart that imports:
  • package:offline_first_fhir_client/src/database_controller/hive_service.dart that imports:
  • package:offline_first_fhir_client/src/database_controller/encryption_helper.dart that imports:
  • package:flutter_secure_storage/flutter_secure_storage.dart that imports:
  • package:flutter_secure_storage_platform_interface/flutter_secure_storage_platform_interface.dart that imports:
  • dart:io

WASM compatibility:

Package not compatible with runtime wasm

Because:

  • package:offline_first_fhir_client/offline_first_fhir_client.dart that imports:
  • package:offline_first_fhir_client/src/offline_first_fhir_client_service/offline_first_fhir_client_service.dart that imports:
  • package:offline_first_fhir_client/src/sync_service/syncing_helping_functions.dart that imports:
  • package:offline_first_fhir_client/src/database_controller/hive_service.dart that imports:
  • package:offline_first_fhir_client/src/database_controller/encryption_helper.dart that imports:
  • package:flutter_secure_storage/flutter_secure_storage.dart that imports:
  • package:flutter_secure_storage_platform_interface/flutter_secure_storage_platform_interface.dart that imports:
  • dart:io

Note: This package supports Web but is not WASM-compatible, resulting in a partial score. See https://dart.dev/web/wasm for details.

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

INFO: Angle brackets will be interpreted as HTML.

lib/src/sync_service/syncing_helping_functions.dart:179:63

    ╷
179 │   /// Recursively convert any Map (including LinkedMap) to Map<String, dynamic>
    │                                                               ^^^^^^^^^^^^^^^^^
    ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/src/sync_service/syncing_helping_functions.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
flutter_secure_storage ^9.2.4 9.2.4 10.0.0
hive_flutter ^1.1.0 1.1.0 1.1.0
hive_generator ^2.0.1 2.0.1 2.0.1
http ^1.2.2 1.6.0 1.6.0
intl ^0.20.2 0.20.2 0.20.2
json_path ^0.7.2 0.7.6 0.9.0
mockito ^5.4.4 5.4.4 5.6.4
path_provider ^2.1.4 2.1.5 2.1.5
path_provider_platform_interface ^2.1.2 2.1.2 2.1.2
pdf ^3.11.3 3.12.0 3.12.0
printing ^5.14.2 5.14.3 5.14.3
workmanager ^0.7.0 0.7.0 0.9.0+3
Transitive dependencies
Package Constraint Compatible Latest Notes
_fe_analyzer_shared - 67.0.0 98.0.0
analyzer - 6.4.1 12.0.0
archive - 4.0.9 4.0.9
args - 2.7.0 2.7.0
async - 2.13.1 2.13.1
barcode - 2.2.9 2.2.9
bidi - 2.0.13 2.0.13
boolean_selector - 2.1.2 2.1.2
build - 2.4.1 4.0.5
built_collection - 5.1.1 5.1.1
built_value - 8.12.5 8.12.5
characters - 1.4.1 1.4.1
clock - 1.1.2 1.1.2
code_assets - 1.0.0 1.0.0
code_builder - 4.11.1 4.11.1
collection - 1.19.1 1.19.1
convert - 3.1.2 3.1.2
crypto - 3.0.7 3.0.7
dart_style - 2.3.6 3.1.8
ffi - 2.2.0 2.2.0
file - 7.0.1 7.0.1
fixnum - 1.1.1 1.1.1
flutter_secure_storage_linux - 1.2.3 3.0.0
flutter_secure_storage_macos - 3.1.3 4.0.0
flutter_secure_storage_platform_interface - 1.1.2 2.0.1
flutter_secure_storage_web - 1.2.1 2.1.0
flutter_secure_storage_windows - 3.1.2 4.1.0
glob - 2.1.3 2.1.3
hive - 2.2.3 2.2.3
hooks - 1.0.2 1.0.2
http_parser - 4.1.2 4.1.2
image - 4.8.0 4.8.0
iregexp - 0.1.2 0.2.0
js - 0.6.7 0.7.2 Discontinued
logging - 1.3.0 1.3.0
matcher - 0.12.19 0.12.19
material_color_utilities - 0.13.0 0.13.0
maybe_just_nothing - 0.5.3 0.6.0
meta - 1.17.0 1.18.2
native_toolchain_c - 0.17.6 0.17.6
objective_c - 9.3.0 9.3.0
package_config - 2.2.0 2.2.0
path - 1.9.1 1.9.1
path_parsing - 1.1.0 1.1.0
path_provider_android - 2.2.23 2.2.23
path_provider_foundation - 2.6.0 2.6.0
path_provider_linux - 2.2.1 2.2.1
path_provider_windows - 2.3.0 2.3.0
pdf_widget_wrapper - 1.0.4 1.0.4
petitparser - 6.1.0 7.0.2
platform - 3.1.6 3.1.6
plugin_platform_interface - 2.1.8 2.1.8
posix - 6.5.0 6.5.0
pub_semver - 2.2.0 2.2.0
qr - 3.0.2 3.0.2
rfc_6901 - 0.2.1 0.2.1
source_gen - 1.5.0 4.2.2
source_helper - 1.3.5 1.3.11
source_span - 1.10.2 1.10.2
stack_trace - 1.12.1 1.12.1
stream_channel - 2.1.4 2.1.4
string_scanner - 1.4.1 1.4.1
term_glyph - 1.2.2 1.2.2
test_api - 0.7.11 0.7.11
typed_data - 1.4.0 1.4.0
vector_math - 2.2.0 2.3.0
watcher - 1.2.1 1.2.1
web - 1.1.1 1.1.1
win32 - 5.15.0 6.0.0
xdg_directories - 1.1.0 1.1.0
xml - 6.5.0 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 `^9.2.4` on flutter_secure_storage does not support the stable version `10.0.0`.

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

The constraint `^0.7.2` on json_path does not support the stable version `0.8.0`.

Try running dart pub upgrade --major-versions json_path 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.12, Flutter 3.41.4, Dart 3.11.1.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
2
likes
110
points
661
downloads

Documentation

API reference

Publisher

verified publishertdh.org

Weekly Downloads

The offline_first_fhir_client library provides a comprehensive solution for managing and syncing FHIR resources in Flutter applications with offline-first capabilities. It is designed for developers building healthcare applications where reliable data access is critical, even in offline scenarios.

Homepage

License

MIT (license)

Dependencies

flutter, flutter_secure_storage, hive_flutter, hive_generator, http, intl, json_path, mockito, path_provider, path_provider_platform_interface, pdf, printing, workmanager

More

Packages that depend on offline_first_fhir_client