bifrosted 0.10.2 copy "bifrosted: ^0.10.2" to clipboard
bifrosted: ^0.10.2 copied to clipboard

The rainbow bridge connecting your app to APIs. A lightweight REST API client and repository pattern with caching, offline support, and error handling.

90/ 160
pub points
205
downloads

We analyzed this package 17 hours ago, and awarded it 90 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.

Failed report section
Provide documentation
10 / 20trigger folding of the section

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

242 out of 390 API elements (62.1 %) have documentation comments.

Some symbols that are missing documentation: bifrost_utils.ShareUtils, bifrosted.AnalyticsService.AnalyticsService.new, bifrosted.AttributionService.AttributionService.new, bifrosted.BifrostFailure.BifrostFailure.new, bifrosted.BifrostFailure.reason.

Failed check 0/10 points: Package has an example

No example found.

See package layout guidelines on how to add 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:bifrosted/bifrosted.dart that imports:
  • package:bifrosted/src/rest_api.dart that imports:
  • package:bifrosted/src/logger.dart that imports:
  • package:logger/logger.dart that imports:
  • package:logger/src/outputs/advanced_file_output_stub.dart that imports:
  • dart:io

WASM compatibility:

Package not compatible with runtime wasm

Because:

  • package:bifrosted/bifrosted.dart that imports:
  • package:bifrosted/src/rest_api.dart that imports:
  • package:bifrosted/src/logger.dart that imports:
  • package:logger/logger.dart that imports:
  • package:logger/src/outputs/advanced_file_output_stub.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.

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 3 issues. Showing the first 2:

WARNING: Unused import: 'dart:js_interop'.

lib/src/utils/share_utils_web.dart:1:8

  ╷
1 │ import 'dart:js_interop';
  │        ^^^^^^^^^^^^^^^^^
  ╵

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

INFO: 'image' is deprecated and shouldn't be used. Use loremPicsum instead for more control.

lib/src/fake_utils.dart:147:27

    ╷
147 │       return _faker.image.image();
    │                           ^^^^^
    ╵

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

Failed report section
Support up-to-date dependencies
10 / 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
analyzer >=6.6.0 <11.0.0 10.2.0 14.1.0
build >=2.4.1 <5.0.0 4.0.7 4.0.10
faker ^2.2.0 2.2.0 2.2.0
http ^1.2.0 1.6.0 1.6.0
logger ^2.6.2 2.7.0 2.7.0
share_plus ^12.0.1 12.0.2 13.3.0
shared_preferences ^2.5.5 2.5.5 2.5.5
source_gen >=1.5.0 <5.0.0 4.2.4 4.2.4
web ^1.1.1 1.1.1 1.1.1
Transitive dependencies
Package Constraint Compatible Latest Notes
_fe_analyzer_shared - 96.0.0 105.0.0
args - 2.7.0 2.7.0
async - 2.13.1 2.13.1
boolean_selector - 2.1.2 2.1.2
characters - 1.4.1 1.4.1
clock - 1.1.2 1.1.2
code_assets - 1.2.1 1.2.1
collection - 1.19.1 1.19.1
convert - 3.1.2 3.1.2
cross_file - 0.3.5+4 0.3.5+4
crypto - 3.0.7 3.0.7
dart_style - 3.1.7 3.1.12
fake_async - 1.3.3 1.3.3
ffi - 2.2.0 2.2.0
file - 7.0.1 7.0.1
fixnum - 1.1.1 1.1.1
glob - 2.1.3 2.1.3
hooks - 2.0.2 2.1.0
http_parser - 4.1.2 4.1.2
jni - 1.0.3 1.0.3
jni_flutter - 1.0.2 1.0.2
jni_util - 1.0.0 1.0.0
leak_tracker - 11.0.2 11.0.2
leak_tracker_flutter_testing - 3.0.10 3.0.10
leak_tracker_testing - 3.0.2 3.0.2
logging - 1.3.0 1.3.0
matcher - 0.12.19 0.12.20
material_color_utilities - 0.13.0 0.13.0
meta - 1.18.0 1.19.0
mime - 2.0.0 2.0.0
objective_c - 9.5.0 9.5.0
package_config - 2.2.0 3.0.0
path - 1.9.1 1.9.1
path_provider - 2.1.6 2.1.6
path_provider_android - 2.3.1 2.3.1
path_provider_foundation - 2.6.0 2.6.0
path_provider_linux - 2.2.2 2.2.2
path_provider_platform_interface - 2.1.3 2.1.3
path_provider_windows - 2.3.0 2.3.0
platform - 3.1.6 3.1.6
plugin_platform_interface - 2.1.8 2.1.8
pub_semver - 2.2.0 2.2.0
record_use - 0.6.0 1.0.0
share_plus_platform_interface - 6.1.0 7.2.0
shared_preferences_android - 2.4.27 2.4.27
shared_preferences_foundation - 2.5.6 2.5.6
shared_preferences_linux - 2.4.1 2.4.1
shared_preferences_platform_interface - 2.4.2 2.4.2
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
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.13
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.3 2.4.3
url_launcher_windows - 3.1.5 3.1.5
uuid - 4.6.0 4.6.0
vector_math - 2.2.0 2.4.2
vm_service - 15.2.0 15.2.0
watcher - 1.2.1 1.2.1
win32 - 5.15.0 6.3.0
xdg_directories - 1.1.0 1.1.0
yaml - 3.1.3 3.1.3

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

The constraint `>=6.6.0 <11.0.0` on analyzer does not support the stable version `11.0.0`.

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

The constraint `^12.0.1` on share_plus does not support the stable version `13.0.0`.

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

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

Failed check 0/20 points: Compatible with dependency constraint lower bounds

downgrade analysis failed failed with 1 error:

  • UNDEFINED_GETTER - lib/src/fake_generator.dart:96:32 - The getter 'formalParameters' isn't defined for the type 'ConstructorElement'.

Run flutter pub downgrade and then flutter analyze to reproduce the above problem.

You may run dart pub upgrade --tighten to update your dependency constraints, see dart.dev/go/downgrade-testing for details.

Analyzed with Pana 0.23.15, Flutter 3.44.7, Dart 3.12.2.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
0
likes
90
points
205
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

The rainbow bridge connecting your app to APIs. A lightweight REST API client and repository pattern with caching, offline support, and error handling.

Repository (GitHub)
View/report issues

Topics

#api #http #rest #repository #caching

License

MIT (license)

Dependencies

analyzer, build, faker, flutter, flutter_test, http, logger, share_plus, shared_preferences, source_gen, web

More

Packages that depend on bifrosted