sa_vertexai_gemini_lego 1.0.1 copy "sa_vertexai_gemini_lego: ^1.0.1" to clipboard
sa_vertexai_gemini_lego: ^1.0.1 copied to clipboard

lego is all you need

0
likes
60/ 160
pub points
44
downloads

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

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

0/10 points: Provide a valid pubspec.yaml

The package description is too short.

Add more detail to the description field of pubspec.yaml. Use 60 to 180 characters to describe the package, what it does, and its target use case.

5/5 points: Provide a valid README.md

5/5 points: Provide a valid CHANGELOG.md

0/10 points: Use an OSI-approved license

No license was recognized.

Consider using an OSI-approved license in the LICENSE file to make it more accessible to the community.

failed
Provide documentation
10 / 20trigger folding of the section

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

227 out of 833 API elements (27.3 %) have documentation comments.

Some symbols that are missing documentation: _, _, _, _, _.

0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

failed
Platform support
20 / 20trigger folding of the section

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:sa_vertexai_gemini_lego/app/backend/vertex_ai_gemini/_new/in_text_1image_out_text.dart that imports:
  • package:sa_vertexai_gemini_lego/util/_/shared_params/firebase_vertexai_lego/_.dart that imports:
  • package:firebase_vertexai/firebase_vertexai.dart that declares support for platforms: Android, iOS, macOS, Web.
Package does not support platform `Linux`.

Because:

  • package:sa_vertexai_gemini_lego/app/backend/vertex_ai_gemini/_new/in_text_1image_out_text.dart that imports:
  • package:sa_vertexai_gemini_lego/util/_/shared_params/firebase_vertexai_lego/_.dart that imports:
  • package:firebase_vertexai/firebase_vertexai.dart that declares support for platforms: Android, iOS, macOS, Web.
Package not compatible with platform Web

Because:

  • package:sa_vertexai_gemini_lego/app/backend/vertex_ai_gemini/_new/in_text_1image_out_text.dart that imports:
  • package:sa_vertexai_gemini_lego/util/_/shared_params/firebase_vertexai_lego/_.dart that imports:
  • package:firebase_vertexai/firebase_vertexai.dart that imports:
  • package:firebase_vertexai/src/model.dart that imports:
  • package:firebase_auth/firebase_auth.dart that imports:
  • dart:io

0/0 points: WASM compatibility

Unable to detect compatibility with runtime wasm, and this package 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
0 / 50trigger folding of the section

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

Found 37 issues. Showing the first 2:

ERROR: The function 'DataPart' isn't defined.

lib/app/backend/vertex_ai_gemini/_new/in_text_1image_out_text.dart:8:21

  ╷
8 │   final imagePart = DataPart(imageType ?? 'image/jpeg', imageBytes);
  │                     ^^^^^^^^
  ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/app/backend/vertex_ai_gemini/_new/in_text_1image_out_text.dart

ERROR: The function 'DataPart' isn't defined.

lib/app/backend/vertex_ai_gemini/_new/in_text_1video_out_text.dart:15:21

   ╷
15 │   final videoPart = DataPart(videoType ?? 'video/mp4', videoBytes);
   │                     ^^^^^^^^
   ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/app/backend/vertex_ai_gemini/_new/in_text_1video_out_text.dart

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

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

Package Constraint Compatible Latest
firebase_core any 3.9.0 3.9.0
firebase_vertexai any 1.0.4 1.0.4
flutter flutter 0.0.0 0.0.0
flutter_screenutil any 5.9.3 5.9.3
flutter_svg any 2.0.16 2.0.16
flutter_zoom_drawer any 3.2.0 3.2.0
gap any 3.0.1 3.0.1
june_flow_util any 0.9.6 0.9.6
keyboard_attachable any 2.2.0 2.2.0
modal_bottom_sheet any 3.0.0 3.0.0
styled_widget any 0.4.1 0.4.1
Transitive dependencies
Package Constraint Compatible Latest
_flutterfire_internals - 1.3.48 1.3.48
args - 2.6.0 2.6.0
async - 2.11.0 2.12.0
boolean_selector - 2.1.1 2.1.2
characters - 1.3.0 1.4.0
clock - 1.1.1 1.1.2
collection - 1.19.0 1.19.1
fake_async - 1.3.1 1.3.2
firebase_app_check - 0.3.1+7 0.3.1+7
firebase_app_check_platform_interface - 0.1.0+41 0.1.0+41
firebase_app_check_web - 0.2.0+3 0.2.0+3
firebase_auth - 5.3.4 5.3.4
firebase_auth_platform_interface - 7.4.10 7.4.10
firebase_auth_web - 5.13.5 5.13.5
firebase_core_platform_interface - 5.4.0 5.4.0
firebase_core_web - 2.19.0 2.19.0
flutter_keyboard_visibility - 5.4.1 6.0.0
flutter_keyboard_visibility_linux - 1.0.0 1.0.0
flutter_keyboard_visibility_macos - 1.0.0 1.0.0
flutter_keyboard_visibility_platform_interface - 2.0.0 2.0.0
flutter_keyboard_visibility_web - 2.0.0 2.0.0
flutter_keyboard_visibility_windows - 1.0.0 1.0.0
flutter_speed_dial - 7.0.0 7.0.0
flutter_test - 0.0.0 0.0.0
flutter_web_plugins - 0.0.0 0.0.0
http - 1.2.2 1.2.2
http_parser - 4.1.2 4.1.2
leak_tracker - 10.0.7 10.0.8
leak_tracker_flutter_testing - 3.0.8 3.0.9
leak_tracker_testing - 3.0.1 3.0.1
lint - 1.10.0 2.3.0
matcher - 0.12.16+1 0.12.17
material_color_utilities - 0.11.1 0.12.0
meta - 1.15.0 1.16.0
page_transition - 2.2.1 2.2.1
path - 1.9.0 1.9.1
path_parsing - 1.1.0 1.1.0
petitparser - 6.0.2 6.0.2
plugin_platform_interface - 2.1.8 2.1.8
sky_engine - 0.0.0 0.0.0
source_span - 1.10.0 1.10.1
stack_trace - 1.12.0 1.12.1
stream_channel - 2.1.2 2.1.3
string_scanner - 1.3.0 1.4.1
term_glyph - 1.2.1 1.2.2
test_api - 0.7.3 0.7.4
typed_data - 1.4.0 1.4.0
vector_graphics - 1.1.15 1.1.15
vector_graphics_codec - 1.1.12 1.1.12
vector_graphics_compiler - 1.1.16 1.1.16
vector_math - 2.1.4 2.1.4
vm_service - 14.3.0 15.0.0
web - 1.1.0 1.1.0
xml - 6.5.0 6.5.0

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

0/20 points: Compatible with dependency constraint lower bounds

downgrade analysis failed failed with 9 errors:

  • UNDEFINED_METHOD - lib/main.dart:35:11 - The method 'basicButton' isn't defined for the type 'InitView'.
  • URI_DOES_NOT_EXIST - lib/util/_/build_app/function/before_run_app/firebase_core_lego/_.dart:4:8 - Target of URI doesn't exist: '../../../../../../firebase_options.dart'.
  • UNDEFINED_ANNOTATION - lib/util/_/build_app/function/before_run_app/firebase_core_lego/_.dart:7:1 - Undefined name 'ReadyBeforeRunApp' used as an annotation.

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.22.17, Flutter 3.27.0, Dart 3.6.0.

Check the analysis log for details.