Skip to main content

flutter_api_bridge 0.2.0 copy "flutter_api_bridge: ^0.2.0" to clipboard
flutter_api_bridge: ^0.2.0 copied to clipboard

Production transport runtime for generated Dart and Flutter API clients with persistent cookies, secure auth, retries, logging, and session-scoped Hive caching.

130/ 160
pub points
87
downloads

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

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

74 out of 502 API elements (14.7 %) 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: api_auth, api_auth.ApiAuth.ApiAuth.new, api_auth.ApiAuth.apply, api_auth.ApiAuth.changes, api_auth.ApiAuth.clear.

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 5 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

  • ✓ Android

  • ✓ iOS

  • ✓ Windows

  • ✓ Linux

  • ✓ macOS

These platforms are not supported:

Package does not support platform `Web`.

Because:

  • package:flutter_api_bridge/flutter_api_bridge.dart that imports:
  • package:flutter_api_bridge/client/server.dart that imports:
  • package:flutter_api_bridge/client/cookies/cookie_manager.dart that imports:
  • package:path_provider/path_provider.dart that declares support for platforms: Android, iOS, Windows, Linux, macOS.
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: Dangling library doc comment.

lib/client/api/api_normalizer.dart:3:1

   ╷
3  │ ┌ /// Normalizes generated DTO maps, query params, response bodies, and request bodies.
4  │ │ ///
5  │ │ /// This file exists because generated `toJson()` methods can produce:
6  │ │ /// - Map<dynamic, dynamic>
7  │ │ /// - nested DTO instances
8  │ │ /// - nested Maps
9  │ │ /// - enums
10 │ │ /// - DateTime
11 │ │ /// - lists
12 │ │ /// - null/empty values
13 │ │ ///
14 │ │ /// Dio needs safe `Map<String, dynamic>?` query params.
15 │ └ /// JSON bodies also need safe string-keyed maps.
   ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/client/api/api_normalizer.dart

INFO: Angle brackets will be interpreted as HTML.

lib/client/api/api_normalizer.dart:6:10

  ╷
6 │ /// - Map<dynamic, dynamic>
  │          ^^^^^^^^^^^^^^^^^^
  ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/client/api/api_normalizer.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
cookie_jar ^4.0.8 4.0.9 4.0.9
crypto ^3.0.7 3.0.8 3.0.8
dio ^5.7.0 5.11.1 5.11.1
dio_cookie_manager ^3.1.1 3.5.0 3.5.0
flutter_riverpod ^2.5.1 2.6.1 3.5.0
flutter_secure_storage ^10.3.1 10.3.4 11.2.0
hive_flutter ^1.1.0 1.1.0 1.1.0
path_provider ^2.1.4 2.1.6 2.1.6
Transitive dependencies
Package Constraint Compatible Latest Notes
args - 2.7.0 2.7.0
async - 2.13.1 2.13.1
characters - 1.4.1 1.4.1
code_assets - 2.2.0 2.2.0
collection - 1.19.1 1.19.1
dio_web_adapter - 2.2.2 2.2.2
ffi - 2.2.0 2.2.0
ffi_leak_tracker - 0.1.2 0.1.2
flutter_secure_storage_darwin - 0.3.2 0.4.3
flutter_secure_storage_linux - 3.0.3 3.0.3
flutter_secure_storage_platform_interface - 2.1.1 2.1.1
flutter_secure_storage_web - 2.1.1 2.1.1
flutter_secure_storage_windows - 4.2.2 4.2.2
hive - 2.2.3 2.2.3
hooks - 2.2.0 2.2.0
http_parser - 4.1.2 4.1.2
jni - 1.2.1 1.2.1
jni_flutter - 1.1.0 1.1.0
jni_util - 1.0.0 1.0.0
listen - 1.0.1 1.0.1
logging - 1.3.0 1.3.0
material_color_utilities - 0.13.0 0.13.1
meta - 1.19.0 1.19.0
mime - 2.1.0 2.1.0
objective_c - 9.6.4 9.6.4
package_config - 3.0.0 3.0.0
path - 1.9.1 1.9.1
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.2.0 3.2.0
plugin_platform_interface - 2.1.8 2.1.8
pub_semver - 2.2.1 2.2.1
record_use - 1.1.1 1.1.1
riverpod - 2.6.1 3.5.0
source_span - 1.10.2 1.10.2
stack_trace - 1.12.2 1.12.2
state_notifier - 1.0.0 1.0.0
string_scanner - 1.4.1 1.4.1
term_glyph - 1.2.2 1.2.2
typed_data - 1.4.0 1.4.0
universal_io - 2.3.1 2.3.1
vector_math - 2.4.4 2.4.4
web - 1.1.2 1.1.2
win32 - 6.4.0 6.4.0
xdg_directories - 1.1.0 1.1.0
yaml - 3.1.4 3.1.4

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

The constraint `^2.5.1` on flutter_riverpod does not support the stable version `3.0.0`.

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

The constraint `^10.3.1` on flutter_secure_storage does not support the stable version `11.0.0`.

Try running dart pub upgrade --major-versions flutter_secure_storage 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.19, Flutter 3.50.1, Dart 3.14.0.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
1
likes
130
points
87
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Production transport runtime for generated Dart and Flutter API clients with persistent cookies, secure auth, retries, logging, and session-scoped Hive caching.

Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

cookie_jar, crypto, dio, dio_cookie_manager, flutter, flutter_riverpod, flutter_secure_storage, hive_flutter, path_provider

More

Packages that depend on flutter_api_bridge