ai_broker 0.2.1 copy "ai_broker: ^0.2.1" to clipboard
ai_broker: ^0.2.1 copied to clipboard

Provider-agnostic Dart abstraction over Claude, OpenAI, and Gemini. One interface for listing models, completions, multi-turn chat, and streaming responses.

160/ 160
pub points
24
downloads

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

Partially passed report section
Follow Dart file conventions
30 / 30trigger folding of the section

Partially passed check 10/10 points: Provide a valid pubspec.yaml

Funding URL doesn't exist.

At the time of the analysis https://www.patreon.com/robelator 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.

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

87 out of 129 API elements (67.4 %) have documentation comments.

Some symbols that are missing documentation: _common, _common.Request.Request.new, _common.Response.isRedirect, ai_broker.AiBroker.AiBroker.new, ai_broker.AiBrokerException.AiBrokerException.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 5 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

  • ✓ Android

  • ✓ iOS

  • ✓ Windows

  • ✓ Linux

  • ✓ macOS

These platforms are not supported:

Package not compatible with platform Web

Because:

  • package:ai_broker/ai_broker.dart that imports:
  • package:ai_broker/src/_src.g.dart that imports:
  • package:ai_broker/src/sse.dart that imports:
  • package:ai_broker/_common.dart that imports:
  • dart:io
Passed report section
Pass static analysis
50 / 50trigger folding of the section

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

Passed report section
Support up-to-date dependencies
40 / 40trigger folding of the section

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

Package Constraint Compatible Latest Notes
http ^1.2.0 1.6.0 1.6.0
meta ^1.15.0 1.18.2 1.18.2
Transitive dependencies
Package Constraint Compatible Latest Notes
async - 2.13.1 2.13.1
collection - 1.19.1 1.19.1
http_parser - 4.1.2 4.1.2
path - 1.9.1 1.9.1
source_span - 1.10.2 1.10.2
string_scanner - 1.4.1 1.4.1
term_glyph - 1.2.2 1.2.2
typed_data - 1.4.0 1.4.0
web - 1.1.1 1.1.1

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

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, Dart 3.12.0.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
1
likes
160
points
24
downloads

Documentation

API reference

Publisher

verified publisherdev-cetera.com

Weekly Downloads

Provider-agnostic Dart abstraction over Claude, OpenAI, and Gemini. One interface for listing models, completions, multi-turn chat, and streaming responses.

Homepage
Repository (GitHub)
View/report issues

Topics

#ai #llm #openai #anthropic #gemini

Funding

Consider supporting this project:

buymeacoffee.com
www.patreon.com
github.com

License

MIT (license)

Dependencies

http, meta

More

Packages that depend on ai_broker