flutter_unify 1.1.0 copy "flutter_unify: ^1.1.0" to clipboard
flutter_unify: ^1.1.0 copied to clipboard

Unified API for cross-platform Flutter development. One API for all platforms with reactive streams and pluggable adapters.

50/ 160
pub points
36
downloads

We analyzed this package 20 hours ago, and awarded it 50 pub points (of a possible 160):

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

Passed check 10/10 points: Provide a valid pubspec.yaml

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

1408 out of 2029 API elements (69.4 %) have documentation comments.

Some symbols that are missing documentation: flutter_unify.AIAdapter.AIAdapter.new, flutter_unify.AIAdapterConfig.AIAdapterConfig.new, flutter_unify.AIAdapterConfig.apiKey, flutter_unify.AIAdapterConfig.baseUrl, flutter_unify.AIAdapterConfig.defaultModel.

Failed check 0/10 points: Package has an example and has no issues with screenshots

Found 8 issues. Showing the first 2:

  • /tmp/pana_ZUNJKD/./screenshots/api-examples.png: Tried interpreting screenshot as WebP with webpinfo "/tmp/pana_ZUNJKD/./screenshots/api-examples.png" failed with exit code 2.

  • /tmp/pana_ZUNJKD/./screenshots/api-examples.png: Converting screenshot with cwebp "/tmp/pana_ZUNJKD/./screenshots/api-examples.png" -o "/tmp/XJWPJA/gen/screenshots/api-examples.webp" failed with exit code 255.

Failed report section
Platform support
0 / 20trigger folding of the section

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

Failed report section
Pass static analysis
0 / 50trigger folding of the section

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

Found 73 issues. Showing the first 2:

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

lib/src/web/polyfills.dart:127:45

    ╷
127 │       js.context['showOpenFilePicker'] = js.allowInterop((options) {
    │                                             ^^^^^^^^^^^^
    ╵

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

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

lib/src/web/polyfills.dart:132:45

    ╷
132 │       js.context['showSaveFilePicker'] = js.allowInterop((options) {
    │                                             ^^^^^^^^^^^^
    ╵

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

Failed report section
Support up-to-date dependencies
10 / 40trigger folding of the section

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

Package Constraint Compatible Latest Notes
camera ^0.11.2 0.11.4 0.12.0+1
connectivity_plus ^7.0.0 7.1.0 7.1.0
crypto ^3.0.6 3.0.7 3.0.7
desktop_multi_window ^0.2.0 0.2.1 0.3.0
device_info_plus >=9.1.0 <13.0.0 10.1.2 12.4.0
dio ^5.9.0 5.9.2 5.9.2
ffi ^2.1.4 2.2.0 2.2.0
file_selector ^1.0.3 1.1.0 1.1.0
flutter_local_notifications >=17.0.0 <20.0.0 19.5.0 21.0.0
flutter_secure_storage ^9.0.0 9.2.4 10.0.0
hive_flutter ^1.1.0 1.1.0 1.1.0
image_picker ^1.2.0 1.2.1 1.2.1
local_auth ^2.3.0 2.3.0 3.0.1
meta ^1.16.0 1.17.0 1.18.2
package_info_plus >=4.2.0 <10.0.0 9.0.1 9.0.1
path ^1.9.1 1.9.1 1.9.1
path_provider ^2.1.5 2.1.5 2.1.5
shared_preferences ^2.5.3 2.5.5 2.5.5
sqflite ^2.4.2 2.4.2 2.4.2
super_drag_and_drop ^0.8.0 0.8.24 0.9.1
tray_manager ^0.2.0 0.2.4 0.5.2
universal_html ^2.2.4 2.3.0 2.3.0
web ^1.1.1 1.1.1 1.1.1
window_manager >=0.3.7 <0.6.0 0.5.1 0.5.1
Transitive dependencies
Package Constraint Compatible Latest Notes
args - 2.7.0 2.7.0
async - 2.13.1 2.13.1
camera_android_camerax - 0.6.30 0.7.1+2
camera_avfoundation - 0.9.23+2 0.10.1
camera_platform_interface - 2.12.0 2.12.0
camera_web - 0.3.5+3 0.3.5+3
characters - 1.4.1 1.4.1
charcode - 1.4.0 1.4.0
clock - 1.1.2 1.1.2
code_assets - 1.0.0 1.0.0
collection - 1.19.1 1.19.1
connectivity_plus_platform_interface - 2.1.0 2.1.0
cross_file - 0.3.5+2 0.3.5+2
csslib - 1.0.2 1.0.2
dbus - 0.7.12 0.7.12
device_info_plus_platform_interface - 7.0.3 7.0.3
dio_web_adapter - 2.1.2 2.1.2
file - 7.0.1 7.0.1
file_selector_android - 0.5.2+5 0.5.2+5
file_selector_ios - 0.5.3+5 0.5.3+5
file_selector_linux - 0.9.4 0.9.4
file_selector_macos - 0.9.5 0.9.5
file_selector_platform_interface - 2.7.0 2.7.0
file_selector_web - 0.9.4+2 0.9.4+2
file_selector_windows - 0.9.3+5 0.9.3+5
fixnum - 1.1.1 1.1.1
flutter_local_notifications_linux - 6.0.0 8.0.0
flutter_local_notifications_platform_interface - 9.1.0 11.0.0
flutter_local_notifications_windows - 1.0.3 3.0.0
flutter_plugin_android_lifecycle - 2.0.34 2.0.34
flutter_secure_storage_linux - 1.2.3 3.0.0
flutter_secure_storage_macos - 3.1.3 4.0.0
flutter_secure_storage_platform_interface - 1.1.2 2.0.1
flutter_secure_storage_web - 1.2.1 2.1.0
flutter_secure_storage_windows - 3.1.2 4.1.0
glob - 2.1.3 2.1.3
hive - 2.2.3 2.2.3
hooks - 1.0.2 1.0.2
html - 0.15.6 0.15.6
http - 1.6.0 1.6.0
http_parser - 4.1.2 4.1.2
image_picker_android - 0.8.13+15 0.8.13+15
image_picker_for_web - 3.1.1 3.1.1
image_picker_ios - 0.8.13+6 0.8.13+6
image_picker_linux - 0.2.2 0.2.2
image_picker_macos - 0.2.2+1 0.2.2+1
image_picker_platform_interface - 2.11.1 2.11.1
image_picker_windows - 0.2.2 0.2.2
intl - 0.20.2 0.20.2
irondash_engine_context - 0.5.5 0.5.5
irondash_message_channel - 0.7.0 0.7.0
js - 0.6.7 0.7.2 Discontinued
json_annotation - 4.11.0 4.11.0
local_auth_android - 1.0.56 2.0.7
local_auth_darwin - 1.6.1 2.0.3
local_auth_platform_interface - 1.1.0 1.1.0
local_auth_windows - 1.0.11 2.0.1
logging - 1.3.0 1.3.0
material_color_utilities - 0.13.0 0.13.0
menu_base - 0.1.1 0.1.1
mime - 2.0.0 2.0.0
native_toolchain_c - 0.17.6 0.17.6
nm - 0.5.0 0.5.0
objective_c - 9.3.0 9.3.0
package_info_plus_platform_interface - 3.2.1 3.2.1
path_provider_android - 2.2.23 2.2.23
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
petitparser - 7.0.2 7.0.2
pixel_snap - 0.1.5 0.1.5
platform - 3.1.6 3.1.6
plugin_platform_interface - 2.1.8 2.1.8
pub_semver - 2.2.0 2.2.0
screen_retriever - 0.2.0 0.2.0
screen_retriever_linux - 0.2.0 0.2.0
screen_retriever_macos - 0.2.0 0.2.0
screen_retriever_platform_interface - 0.2.0 0.2.0
screen_retriever_windows - 0.2.0 0.2.0
shared_preferences_android - 2.4.23 2.4.23
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
shortid - 0.1.2 0.1.2
source_span - 1.10.2 1.10.2
sqflite_android - 2.4.2+3 2.4.2+3
sqflite_common - 2.5.6 2.5.6
sqflite_darwin - 2.4.2 2.4.2
sqflite_platform_interface - 2.4.0 2.4.0
stream_transform - 2.1.1 2.1.1
string_scanner - 1.4.1 1.4.1
super_clipboard - 0.8.24 0.9.1
super_native_extensions - 0.8.24 0.9.1
synchronized - 3.4.0 3.4.0
term_glyph - 1.2.2 1.2.2
timezone - 0.10.1 0.11.0
typed_data - 1.4.0 1.4.0
universal_io - 2.3.1 2.3.1
uuid - 4.5.3 4.5.3
vector_math - 2.2.0 2.3.0
win32 - 5.15.0 6.0.0
win32_registry - 1.1.5 3.0.2
xdg_directories - 1.1.0 1.1.0
xml - 6.6.1 6.6.1
yaml - 3.1.3 3.1.3

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

Found 7 issues. Showing the first 2:

The constraint `^0.11.2` on camera does not support the stable version `0.12.0`.

Try running dart pub upgrade --major-versions camera to update the constraint.

The constraint `^0.2.0` on desktop_multi_window does not support the stable version `0.3.0`.

Try running dart pub upgrade --major-versions desktop_multi_window to update the constraint.

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

Failed check 0/20 points: Compatible with dependency constraint lower bounds

downgrade analysis failed failed with 5 errors:

  • UNDEFINED_FUNCTION - lib/src/web/polyfills.dart:127:45 - The function 'allowInterop' isn't defined.
  • UNDEFINED_FUNCTION - lib/src/web/polyfills.dart:132:45 - The function 'allowInterop' isn't defined.
  • UNDEFINED_FUNCTION - lib/src/web/polyfills.dart:226:29 - The function 'allowInterop' isn't defined.

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.4, Dart 3.11.1.

Check the analysis log for details.

Weekly downloads

Display as:
By versions: