aub_ai 1.0.2 copy "aub_ai: ^1.0.2" to clipboard
aub_ai: ^1.0.2 copied to clipboard

AubAI allows you to supercharge apps with on-device AI capabilities. Offline AI is the next frontier in cross-platform app development, and AubAI makes it easy to add it to your app.

18
likes
130/ 160
pub points
70%
popularity

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

failed
Follow Dart file conventions
20 / 30trigger folding of the section

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://aub.ai was unreachable. Make sure that the website is reachable via HEAD requests.

Issue tracker URL doesn't exist.

At the time of the analysis https://github.com/BrutalCoding/aub.ai/issues was unreachable. Make sure that the website is reachable via HEAD requests.

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: AGPL-3.0.

OK
Provide documentation
20 / 20trigger folding of the section

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

174 out of 422 API elements (41.2 %) have documentation comments.

Some symbols that are missing documentation: aub_ai, aub_ai.allocateCIntList, aub_ai.allocateCharArray, aub_ai.allocateIntArray, aub_ai.aubAiBindings.

10/10 points: Package has an example

failed
Platform support
20 / 20trigger folding of the section

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:aub_ai/aub_ai.dart that declares support for platforms: Android, iOS, Windows, Linux, macOS.

0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:aub_ai/aub_ai.dart that imports:
  • package:aub_ai/aub_ai_bindings_generated.dart that imports:
  • dart:ffi

This package is not compatible with runtime wasm, and will not be rewarded full points in a future version of the scoring model.

See https://dart.dev/web/wasm for details.

failed
Pass static analysis
30 / 50trigger folding of the section

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

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

lib/prompt_template.freezed.dart:224:17

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

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

INFO: 'elementAt' is deprecated and shouldn't be used. Use operator + instead.

lib/aub_ai.dart:35:17

   ╷
35 │   while (buffer.elementAt(length).value != 0) {
   │                 ^^^^^^^^^
   ╵

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

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

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

Package Constraint Compatible Latest
ffi ^2.1.0 2.1.3 2.1.3
flutter flutter 0.0.0 0.0.0
freezed_annotation ^2.4.1 2.4.4 2.4.4
json_annotation ^4.8.1 4.9.0 4.9.0
plugin_platform_interface ^2.0.2 2.1.8 2.1.8
Transitive dependencies
Package Constraint Compatible Latest
characters - 1.3.0 1.3.0
collection - 1.18.0 1.19.0
material_color_utilities - 0.11.1 0.12.0
meta - 1.15.0 1.16.0
sky_engine - 0.0.99 0.0.99
vector_math - 2.1.4 2.1.4

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

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

20/20 points: Compatible with dependency constraint lower bounds

pub downgrade does not expose any static analysis error.

Analyzed with Pana 0.22.12, Flutter 3.24.3, Dart 3.5.3.

Check the analysis log for details.

18
likes
130
pub points
70%
popularity

Publisher

verified publisherbrutalcoding.com

AubAI allows you to supercharge apps with on-device AI capabilities. Offline AI is the next frontier in cross-platform app development, and AubAI makes it easy to add it to your app.

Homepage
Repository (GitHub)
View/report issues
Contributing

Topics

#ai #flutter #cross-platform #nlp #llms

Documentation

API reference

Funding

Consider supporting this project:

github.com
buymeacoffee.com

License

AGPL-3.0 (license)

Dependencies

ffi, flutter, freezed_annotation, json_annotation, plugin_platform_interface

More

Packages that depend on aub_ai