synkora_chat 1.0.0
synkora_chat: ^1.0.0 copied to clipboard
Native Flutter SDK for embedding Synkora AI chat widgets. Drop-in UI + headless API client with local message cache.
We analyzed this package 42 hours ago, and awarded it 110 pub points (of a possible 160):
10/10 points: Provide a valid pubspec.yaml
Homepage URL doesn't exist.
At the time of the analysis https://synkora.com was unreachable. Make sure that the website is reachable via HEAD requests.
Repository URL doesn't exist.
At the time of the analysis https://github.com/synkora/synkora-flutter 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/synkora/synkora-flutter/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: MIT.
0/10 points: 20% or more of the public API has dartdoc comments
17 out of 93 API elements (18.3 %) have documentation comments.
Providing good documentation for libraries, classes, functions, and other API elements improves code readability and helps developers find and use your API. Document at least 20% of the public API elements.
To highlight public API members missing documentation consider enabling the public_member_api_docs lint.
Some symbols that are missing documentation: synkora_chat.ChatMessage, synkora_chat.ChatMessage.ChatMessage.new, synkora_chat.ChatMessage.content, synkora_chat.ChatMessage.copyWith, synkora_chat.ChatMessage.id.
10/10 points: Package has an example
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:synkora_chat/synkora_chat.dartthat imports:package:synkora_chat/src/ui/synkora_chat_widget.dartthat imports:package:synkora_chat/src/controller/synkora_chat_controller.dartthat imports:package:synkora_chat/src/cache/local_cache.dartthat imports:package:synkora_chat/src/cache/cache_database.dartthat imports:package:path_provider/path_provider.dartthat declares support for platforms:Android,iOS,Windows,Linux,macOS.
40/50 points: code has no errors, warnings, lints, or formatting issues
Found 9 issues. Showing the first 2:
INFO: 'withOpacity' is deprecated and shouldn't be used. Use .withValues() to avoid precision loss.
lib/src/ui/message_bubble.dart:99:39
╷
99 │ backgroundColor: primaryColor.withOpacity(0.1),
│ ^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/ui/message_bubble.dart
INFO: 'withOpacity' is deprecated and shouldn't be used. Use .withValues() to avoid precision loss.
lib/src/ui/message_bubble.dart:104:37
╷
104 │ backgroundColor: primaryColor.withOpacity(0.15),
│ ^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/ui/message_bubble.dart
0/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
dio |
^5.7.0 |
5.9.2 | 5.9.2 | |
drift |
^2.20.0 |
2.33.0 | 2.33.0 | |
flutter_markdown |
^0.7.0 |
0.7.7+1 | 0.7.7+1 | Discontinued |
path |
^1.9.0 |
1.9.1 | 1.9.1 | |
path_provider |
^2.1.0 |
2.1.5 | 2.1.5 | |
sqlite3_flutter_libs |
^0.5.0 |
0.5.42 | 0.6.0+eol |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
args |
- | 2.7.0 | 2.7.0 | |
async |
- | 2.13.1 | 2.13.1 | |
characters |
- | 1.4.1 | 1.4.1 | |
code_assets |
- | 1.0.0 | 1.0.0 | |
collection |
- | 1.19.1 | 1.19.1 | |
convert |
- | 3.1.2 | 3.1.2 | |
crypto |
- | 3.0.7 | 3.0.7 | |
dio_web_adapter |
- | 2.1.2 | 2.1.2 | |
ffi |
- | 2.2.0 | 2.2.0 | |
file |
- | 7.0.1 | 7.0.1 | |
glob |
- | 2.1.3 | 2.1.3 | |
hooks |
- | 1.0.3 | 1.0.3 | |
http_parser |
- | 4.1.2 | 4.1.2 | |
jni |
- | 1.0.0 | 1.0.0 | |
jni_flutter |
- | 1.0.1 | 1.0.1 | |
logging |
- | 1.3.0 | 1.3.0 | |
markdown |
- | 7.3.1 | 7.3.1 | |
material_color_utilities |
- | 0.13.0 | 0.13.0 | |
meta |
- | 1.17.0 | 1.18.2 | |
mime |
- | 2.0.0 | 2.0.0 | |
native_toolchain_c |
- | 0.17.6 | 0.18.0 | |
objective_c |
- | 9.3.0 | 9.3.0 | |
package_config |
- | 2.2.0 | 2.2.0 | |
path_provider_android |
- | 2.3.1 | 2.3.1 | |
path_provider_foundation |
- | 2.6.0 | 2.6.0 | |
path_provider_linux |
- | 2.2.1 | 2.2.1 | |
path_provider_platform_interface |
- | 2.1.2 | 2.1.2 | |
path_provider_windows |
- | 2.3.0 | 2.3.0 | |
platform |
- | 3.1.6 | 3.1.6 | |
plugin_platform_interface |
- | 2.1.8 | 2.1.8 | |
pub_semver |
- | 2.2.0 | 2.2.0 | |
record_use |
- | 0.6.0 | 0.6.0 | |
source_span |
- | 1.10.2 | 1.10.2 | |
sqlite3 |
- | 3.3.1 | 3.3.1 | |
stack_trace |
- | 1.12.1 | 1.12.1 | |
stream_channel |
- | 2.1.4 | 2.1.4 | |
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.3.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.
The constraint `^0.5.0` on sqlite3_flutter_libs does not support the stable version `0.6.0+eol`.
Try running dart pub upgrade --major-versions sqlite3_flutter_libs to update the constraint.
The package has one or more discontinued direct dependencies.
Discontinued packages are no longer maintained, and can end up being a
liability.
Consider migrating away from these dependencies:
- flutter_markdown.
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 70 errors:
INVALID_USE_OF_TYPE_OUTSIDE_LIBRARY-lib/src/cache/cache_database.g.dart:422:13- The class 'Composer' can't be extended, implemented, or mixed in outside of its library because it's a sealed class.IMPLICIT_SUPER_INITIALIZER_MISSING_ARGUMENTS-lib/src/cache/cache_database.g.dart:423:3- The implicitly invoked unnamed constructor from 'Composer<_$CacheDatabase, $MessagesTable>' has required parameters.SUPER_FORMAL_PARAMETER_WITHOUT_ASSOCIATED_NAMED-lib/src/cache/cache_database.g.dart:424:20- No associated named super constructor parameter.
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.23.12, Flutter 3.41.9, Dart 3.11.5.
Check the analysis log for details.