llm_lab_sdk_flutter 1.1.1 copy "llm_lab_sdk_flutter: ^1.1.1" to clipboard
llm_lab_sdk_flutter: ^1.1.1 copied to clipboard

Platformweb

An SDK for integrating your LLM Lab AI Agent

2
likes
100/ 140
pub points
0%
popularity

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

failed
Follow Dart file conventions
20 / 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

10/10 points: Use an OSI-approved license

Detected license: Apache-2.0.

failed
Provide documentation
10 / 20trigger folding of the section

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

OUT: Documenting llm_lab_sdk_flutter... Discovering libraries... Linking elements... Precaching local docs for 1098122 elements... Initialized dartdoc with 1062 libraries Generating docs for library util/streaming_default.dart from package:llm_lab_sdk_flutter/util/streaming_default.dart... Generating docs for library util/streaming_web.dart from package:llm_lab_sdk_flutter/util/streaming_web.dart... Generating docs for library util/streaming_io.dart from package:llm_lab_sdk_flutter/util/streaming_io.dart... Generating docs for library service/agent_api.dart from package:llm_lab_sdk_flutter/service/agent_api.dart... Generating docs for library service/stream_client.dart from package:llm_lab_sdk_flutter/service/stream_client.dart... [4 more lines] ERR: warning: private API of package:llm_chat is reexported by libraries in other packages: from llm_lab.LLmChatTextInput: (file:///tmp/analyzerVXLDGE/pub-cache/hosted/20240529t113700-dot-dartlang-pub.appspot.com/llm_chat-1.0.0+1/lib/main.dart:252:7) referred to by llm_lab: (file:///tmp/pana_XPQCBE/lib/service/llm_lab_sdk.dart:1:9) warning: private API of package:llm_chat is reexported by libraries in other packages: from llm_lab.CopyToClipboardIcon.CopyToClipboardIcon: (file:///tmp/analyzerVXLDGE/pub-cache/hosted/20240529t113700-dot-dartlang-pub.appspot.com/llm_chat-1.0.0+1/lib/main.dart:530:3) referred to by llm_lab: (file:///tmp/pana_XPQCBE/lib/service/llm_lab_sdk.dart:1:9) warning: private API of package:llm_chat is reexported by libraries in other packages: from llm_lab.App: (file:///tmp/analyzerVXLDGE/pub-cache/hosted/20240529t113700-dot-dartlang-pub.appspot.com/llm_chat-1.0.0+1/lib/main.dart:70:7) referred to by llm_lab: (file:///tmp/pana_XPQCBE/lib/service/llm_lab_sdk.dart:1:9) warning: private API of package:llm_chat is reexported by libraries in other packages: [4984 more lines]

10/10 points: Package has an example

OK
Platform support
20 / 20trigger folding of the section

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

  • ✓ Web

These platforms are not supported:

Package does not support platform `Android`.

Because:

  • package:llm_lab_sdk_flutter/util/streaming_web.dart that imports:
  • package:fetch_client/fetch_client.dart that declares support for platforms: Web.
Package does not support platform `iOS`.

Because:

  • package:llm_lab_sdk_flutter/util/streaming_web.dart that imports:
  • package:fetch_client/fetch_client.dart that declares support for platforms: Web.
Package does not support platform `Windows`.

Because:

  • package:llm_lab_sdk_flutter/util/streaming_web.dart that imports:
  • package:fetch_client/fetch_client.dart that declares support for platforms: Web.
Package does not support platform `Linux`.

Because:

  • package:llm_lab_sdk_flutter/util/streaming_web.dart that imports:
  • package:fetch_client/fetch_client.dart that declares support for platforms: Web.
Package does not support platform `macOS`.

Because:

  • package:llm_lab_sdk_flutter/util/streaming_web.dart that imports:
  • package:fetch_client/fetch_client.dart that declares support for platforms: Web.
failed
Pass static analysis
30 / 50trigger folding of the section

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

Found 3 issues. Showing the first 2:

WARNING: The value of the local variable 'keys' isn't used.

lib/model/upsert_response.dart:33:11

   ╷
33 │     final keys = model.keys.toList();
   │           ^^^^
   ╵

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

INFO: Dangling library doc comment.

lib/service/agent_api.dart:1:1

  ╷
1 │ ///TODO use this instead of having all the methods inside of ll_lab_sdk.dart do the same for the rest of the modules
  │ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  ╵

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

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

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

Package Constraint Compatible Latest
either_dart ^1.0.0 1.0.0 1.0.0
equatable ^2.0.5 2.0.5 2.0.5
fetch_client ^1.0.2 1.1.2 1.1.2
flutter flutter 0.0.0 0.0.0
http ^1.2.1 1.2.1 1.2.1
llm_chat ^1.0.0+1 1.0.0+1 1.0.0+1
Transitive dependencies
Package Constraint Compatible Latest
animated_text_kit - 4.2.2 4.2.2
async - 2.11.0 2.11.0
characters - 1.3.0 1.3.0
clipboard - 0.1.3 0.1.3
collection - 1.18.0 1.18.0
cupertino_icons - 1.0.8 1.0.8
fetch_api - 2.2.0 2.2.0
http_parser - 4.0.2 4.0.2
material_color_utilities - 0.8.0 0.11.1
meta - 1.12.0 1.15.0
path - 1.9.0 1.9.0
sky_engine - 0.0.99 0.0.99
source_span - 1.10.0 1.10.0
string_scanner - 1.2.0 1.2.0
term_glyph - 1.2.1 1.2.1
typed_data - 1.3.2 1.3.2
vector_math - 2.1.4 2.1.4
web - 0.5.1 0.5.1

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

Analyzed with Pana 0.22.3, Flutter 3.22.1, Dart 3.4.1.

Check the analysis log for details.