flutter_gemma_builtin_ai 0.1.0 copy "flutter_gemma_builtin_ai: ^0.1.0" to clipboard
flutter_gemma_builtin_ai: ^0.1.0 copied to clipboard

Built-in OS AI engine for flutter_gemma: Gemini Nano (ML Kit GenAI, Android) and Apple Foundation Models (iOS/macOS). Opt-in package; provides an InferenceEngineProvider for system on-device models.

140/ 160
pub points
36
downloads

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

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

Failed check 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.

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

20 out of 40 API elements (50.0 %) have documentation comments.

Some symbols that are missing documentation: flutter_gemma_builtin_ai.BuiltInAiEngine.BuiltInAiEngine.new, flutter_gemma_builtin_ai.BuiltInAiUnavailableException.BuiltInAiUnavailableException.new, flutter_gemma_builtin_ai.BuiltInAiUnavailableException.message, flutter_gemma_builtin_ai.BuiltInAiUnavailableException.status, pigeon.g.

Failed check 0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

Passed report section
Platform support
20 / 20trigger folding of the section

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

  • ✓ Android

  • ✓ iOS

  • ✓ macOS

These platforms are not supported:

Package does not support platform `Windows`.

Because:

  • package:flutter_gemma_builtin_ai/flutter_gemma_builtin_ai.dart that declares support for platforms: Android, iOS, macOS.
Package does not support platform `Linux`.

Because:

  • package:flutter_gemma_builtin_ai/flutter_gemma_builtin_ai.dart that declares support for platforms: Android, iOS, macOS.
Package does not support platform `Web`.

Because:

  • package:flutter_gemma_builtin_ai/flutter_gemma_builtin_ai.dart that declares support for platforms: Android, iOS, macOS.

Swift PM-ready: This iOS or macOS plugin supports the Swift Package Manager. See https://docs.flutter.dev/to/spm for details.

Built-in Kotlin support:

Legacy Kotlin configuration detected in `android/build.gradle`.

This plugin applies the Kotlin Gradle Plugin (KGP) or uses the android.kotlinOptions{} block.

Note: This Android plugin does not support built-in Kotlin. In the future, this might affect scoring. See https://docs.flutter.dev/release/breaking-changes/migrate-to-built-in-kotlin/for-plugin-authors for details.

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
flutter_gemma ^1.3.0 1.3.0 1.3.0
meta ^1.15.0 1.18.0 1.19.0
plugin_platform_interface ^2.0.2 2.1.8 2.1.8
Transitive dependencies
Package Constraint Compatible Latest Notes
args - 2.7.0 2.7.0
async - 2.13.1 2.13.1
background_downloader - 9.5.6 9.5.6
characters - 1.4.1 1.4.1
code_assets - 1.2.1 1.2.1
collection - 1.19.1 1.19.1
crypto - 3.0.7 3.0.7
ffi - 2.2.0 2.2.0
file - 7.0.1 7.0.1
hooks - 2.0.2 2.1.0
http - 1.6.0 1.6.0
http_parser - 4.1.2 4.1.2
jni - 1.0.0 1.0.0
jni_flutter - 1.0.1 1.0.1
large_file_handler - 0.5.0 0.5.0
logging - 1.3.0 1.3.0
material_color_utilities - 0.13.0 0.13.0
mime - 2.0.0 2.0.0
mutex - 3.1.0 3.1.0
objective_c - 9.4.1 9.4.1
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
pub_semver - 2.2.0 2.2.0
record_use - 0.6.0 1.0.0
shared_preferences - 2.5.5 2.5.5
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
string_scanner - 1.4.1 1.4.1
term_glyph - 1.2.2 1.2.2
typed_data - 1.4.0 1.4.0
vector_math - 2.2.0 2.4.0
web - 1.1.1 1.1.1
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.

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.14, Flutter 3.44.5, Dart 3.12.2.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
0
likes
140
points
36
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Built-in OS AI engine for flutter_gemma: Gemini Nano (ML Kit GenAI, Android) and Apple Foundation Models (iOS/macOS). Opt-in package; provides an InferenceEngineProvider for system on-device models.

Homepage
Repository (GitHub)
View/report issues

Topics

#gemma #llm #gemini-nano #apple-intelligence #on-device

License

MIT (license)

Dependencies

flutter, flutter_gemma, meta, plugin_platform_interface

More

Packages that depend on flutter_gemma_builtin_ai

Packages that implement flutter_gemma_builtin_ai