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.

70/ 160
pub points
162
downloads

We analyzed this package 24 hours ago, and awarded it 70 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_TLWWAW/./screenshots/api-examples.png: Tried interpreting screenshot as WebP with webpinfo "/tmp/pana_TLWWAW/./screenshots/api-examples.png" failed with exit code 2.

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

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

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

  • ✓ Android

  • ✓ iOS

  • ✓ Windows

  • ✓ Linux

  • ✓ macOS

  • ✓ Web

These issues are present but do not affect the score, because they may not originate in your package:

Package does not support platform `Android`.

Because:

  • package:flutter_unify/flutter_unify.dart that imports:
  • package:flutter_unify/src/adapters/biometric_adapter.dart that imports:
  • package:local_auth/local_auth.dart that imports:
  • package:local_auth/src/local_auth.dart that imports:
  • package:local_auth_windows/local_auth_windows.dart that declares support for platforms: Windows.
Package does not support platform `iOS`.

Because:

  • package:flutter_unify/flutter_unify.dart that imports:
  • package:flutter_unify/src/adapters/biometric_adapter.dart that imports:
  • package:local_auth/local_auth.dart that imports:
  • package:local_auth/src/local_auth.dart that imports:
  • package:local_auth_windows/local_auth_windows.dart that declares support for platforms: Windows.
Package does not support platform `Windows`.

Because:

  • package:flutter_unify/flutter_unify.dart that imports:
  • package:flutter_unify/src/adapters/biometric_adapter.dart that imports:
  • package:local_auth/local_auth.dart that imports:
  • package:local_auth/src/local_auth.dart that imports:
  • package:local_auth_darwin/local_auth_darwin.dart that declares support for platforms: iOS, macOS.
Package does not support platform `Linux`.

Because:

  • package:flutter_unify/flutter_unify.dart that imports:
  • package:flutter_unify/src/adapters/biometric_adapter.dart that imports:
  • package:local_auth/local_auth.dart that declares support for platforms: Android, iOS, Windows, macOS.
Package does not support platform `macOS`.

Because:

  • package:flutter_unify/flutter_unify.dart that imports:
  • package:flutter_unify/src/adapters/biometric_adapter.dart that imports:
  • package:local_auth/local_auth.dart that imports:
  • package:local_auth/src/local_auth.dart that imports:
  • package:local_auth_windows/local_auth_windows.dart that declares support for platforms: Windows.
Package does not support platform `Web`.

Because:

  • package:flutter_unify/flutter_unify.dart that imports:
  • package:flutter_unify/src/storage/storage_paths.dart that imports:
  • package:path_provider/path_provider.dart that declares support for platforms: Android, iOS, Windows, Linux, macOS.
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.3 0.11.3
connectivity_plus ^7.0.0 7.0.0 7.0.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.3.0
dio ^5.9.0 5.9.0 5.9.0
ffi ^2.1.4 2.1.4 2.1.4
file_selector ^1.0.3 1.1.0 1.1.0
flutter_local_notifications >=17.0.0 <20.0.0 19.5.0 19.5.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.0
meta ^1.16.0 1.17.0 1.17.0
package_info_plus >=4.2.0 <10.0.0 9.0.0 9.0.0
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.4 2.5.4
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.0 2.13.0
camera_android_camerax - 0.6.26+2 0.6.26+2
camera_avfoundation - 0.9.22+8 0.9.22+8
camera_platform_interface - 2.12.0 2.12.0
camera_web - 0.3.5+2 0.3.5+2
characters - 1.4.0 1.4.1
charcode - 1.4.0 1.4.0
clock - 1.1.2 1.1.2
collection - 1.19.1 1.19.1
connectivity_plus_platform_interface - 2.0.1 2.0.1
cross_file - 0.3.5+1 0.3.5+1
csslib - 1.0.2 1.0.2
dbus - 0.7.11 0.7.11
device_info_plus_platform_interface - 7.0.3 7.0.3
dio_web_adapter - 2.1.1 2.1.1
file - 7.0.1 7.0.1
file_selector_android - 0.5.2+4 0.5.2+4
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 6.0.0
flutter_local_notifications_platform_interface - 9.1.0 9.1.0
flutter_local_notifications_windows - 1.0.3 1.0.3
flutter_plugin_android_lifecycle - 2.0.33 2.0.33
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
hive - 2.2.3 2.2.3
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+10 0.8.13+10
image_picker_for_web - 3.1.1 3.1.1
image_picker_ios - 0.8.13+3 0.8.13+3
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.9.0 4.9.0
local_auth_android - 1.0.56 2.0.4
local_auth_darwin - 1.6.1 2.0.1
local_auth_platform_interface - 1.1.0 1.1.0
local_auth_windows - 1.0.11 2.0.1
material_color_utilities - 0.11.1 0.13.0
menu_base - 0.1.1 0.1.1
mime - 2.0.0 2.0.0
nm - 0.5.0 0.5.0
package_info_plus_platform_interface - 3.2.1 3.2.1
path_provider_android - 2.2.22 2.2.22
path_provider_foundation - 2.5.1 2.5.1
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.1 7.0.1
pixel_snap - 0.1.5 0.1.5
platform - 3.1.6 3.1.6
plugin_platform_interface - 2.1.8 2.1.8
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.18 2.4.18
shared_preferences_foundation - 2.5.6 2.5.6
shared_preferences_linux - 2.4.1 2.4.1
shared_preferences_platform_interface - 2.4.1 2.4.1
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.1 1.10.1
sqflite_android - 2.4.2+2 2.4.2+2
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.10.1
typed_data - 1.4.0 1.4.0
universal_io - 2.3.1 2.3.1
uuid - 4.5.2 4.5.2
vector_math - 2.2.0 2.2.0
win32 - 5.15.0 5.15.0
win32_registry - 1.1.5 2.1.0
xdg_directories - 1.1.0 1.1.0
xml - 6.6.1 6.6.1

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

Found 5 issues. Showing the first 2:

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.

The constraint `^9.0.0` on flutter_secure_storage does not support the stable version `10.0.0`, that was published 12 days ago.

When flutter_secure_storage is 30 days old, this package will no longer be awarded points in this category.

Try running dart pub upgrade --major-versions flutter_secure_storage 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.3, Flutter 3.38.4, Dart 3.10.3.

Check the analysis log for details.

Weekly downloads

Display as:
By versions: