fhir_auth 0.9.4 copy "fhir_auth: ^0.9.4" to clipboard
fhir_auth: ^0.9.4 copied to clipboard

Platformweb

A Dart/Flutter package for authorization & authentication, includes SMART on FHIR and Google sign-in

7
likes
110/ 140
pub points
61%
popularity

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

OK
Follow Dart file conventions
30 / 30trigger folding of the section

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.

OK
Provide documentation
20 / 20trigger folding of the section

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

112 out of 184 API elements (60.9 %) have documentation comments.

Some symbols that are missing documentation: authenticate, base_authentication, base_authentication.BaseAuthentication.authenticate, clinical_scope, clinical_scope.

10/10 points: Package has an example

OK
Platform support
20 / 20trigger folding of the section

20/20 points: Supports 1 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

  • ✓ Web

These platforms are not supported:

Package not compatible with platform Android

Because:

  • package:fhir_auth/fhir_client/authenticate/web_authentication.dart that imports:
  • dart:html
Package not compatible with platform iOS

Because:

  • package:fhir_auth/fhir_client/authenticate/web_authentication.dart that imports:
  • dart:html
Package does not support platform `Windows`.

Because:

  • package:fhir_auth/dstu2.dart that imports:
  • package:fhir_auth/fhir_client/export.dart that imports:
  • package:fhir_auth/fhir_client/smart_fhir_client.dart that imports:
  • package:fhir_auth/fhir_client/authenticate/mobile_authentication.dart that imports:
  • package:flutter_web_auth/flutter_web_auth.dart that declares support for platforms: Android, iOS, macOS, Web.
Package does not support platform `Linux`.

Because:

  • package:fhir_auth/dstu2.dart that imports:
  • package:fhir_auth/fhir_client/export.dart that imports:
  • package:fhir_auth/fhir_client/smart_fhir_client.dart that imports:
  • package:fhir_auth/fhir_client/authenticate/mobile_authentication.dart that imports:
  • package:flutter_web_auth/flutter_web_auth.dart that declares support for platforms: Android, iOS, macOS, Web.
Package does not support platform `macOS`.

Because:

  • package:fhir_auth/dstu2.dart that imports:
  • package:fhir_auth/fhir_client/export.dart that imports:
  • package:fhir_auth/fhir_client/gcp_fhir_client.dart that imports:
  • package:google_sign_in/google_sign_in.dart that declares support for platforms: Android, iOS, Web.
failed
Pass static analysis
30 / 50trigger folding of the section

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

Found 4 issues. Showing the first 2:

WARNING: The parameter type of '==' operators should be non-nullable.

lib/scopes/dstu2/scopes.freezed.dart:369:17

    ╷
369 │   bool operator ==(dynamic other) {
    │                 ^^
    ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/scopes/dstu2/scopes.freezed.dart

WARNING: The parameter type of '==' operators should be non-nullable.

lib/scopes/r4/scopes.freezed.dart:369:17

    ╷
369 │   bool operator ==(dynamic other) {
    │                 ^^
    ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/scopes/r4/scopes.freezed.dart

failed
Support up-to-date dependencies
10 / 20trigger folding of the section

0/10 points: All of the package dependencies are supported in the latest version

Package Constraint Compatible Latest
collection ^1.17.0 1.18.0 1.18.0
crypto ^3.0.2 3.0.3 3.0.3
fhir ^0.9.4 0.9.5 0.12.0
flutter flutter 0.0.0 0.0.0
flutter_web_auth ^0.5.0 0.5.0 0.5.0
flutter_web_plugins flutter 0.0.0 0.0.0
freezed_annotation ^2.2.0 2.4.1 2.4.1
google_sign_in ^5.4.4 5.4.4 6.2.1
http ^0.13.5 0.13.6 1.2.1
http_parser ^4.0.2 4.0.2 4.0.2
jwt_decoder ^2.0.1 2.0.1 2.0.1
oauth2 ^2.0.1 2.0.2 2.0.2
url_launcher ^6.1.9 6.2.6 6.2.6
Transitive dependencies
Package Constraint Compatible Latest
async - 2.11.0 2.11.0
characters - 1.3.0 1.3.0
google_sign_in_android - 6.1.23 6.1.23
google_sign_in_ios - 5.7.6 5.7.6
google_sign_in_platform_interface - 2.4.5 2.4.5
google_sign_in_web - 0.10.2+1 0.12.4
js - 0.6.7 0.7.1
json_annotation - 4.9.0 4.9.0
material_color_utilities - 0.8.0 0.11.1
meta - 1.11.0 1.14.0
path - 1.9.0 1.9.0
petitparser - 6.0.2 6.0.2
plugin_platform_interface - 2.1.8 2.1.8
sky_engine - 0.0.99 0.0.99
source_span - 1.10.0 1.10.0
string_scanner - 1.2.0 1.2.0
term_glyph - 1.2.1 1.2.1
typed_data - 1.3.2 1.3.2
url_launcher_android - 6.3.1 6.3.1
url_launcher_ios - 6.2.5 6.2.5
url_launcher_linux - 3.1.1 3.1.1
url_launcher_macos - 3.1.0 3.1.0
url_launcher_platform_interface - 2.3.2 2.3.2
url_launcher_web - 2.3.1 2.3.1
url_launcher_windows - 3.1.1 3.1.1
uuid - 3.0.7 4.4.0
vector_math - 2.1.4 2.1.4
web - 0.5.1 0.5.1
xml - 6.5.0 6.5.0
xml2json - 5.3.6 6.2.3
yaml - 3.1.2 3.1.2

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

Found 3 issues. Showing the first 2:

The constraint `^0.9.4` on fhir does not support the stable version `0.10.0`.

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

The constraint `^5.4.4` on google_sign_in does not support the stable version `6.0.0`.

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

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

Analyzed with Pana 0.22.3, Flutter 3.19.5, Dart 3.3.3.

Check the analysis log for details.