flutter_unify 1.1.0
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.
We analyzed this package 24 hours ago, and awarded it 70 pub points (of a possible 160):
10/10 points: Provide a valid pubspec.yaml
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.
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.
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 withwebpinfo "/tmp/pana_TLWWAW/./screenshots/api-examples.png"failed with exit code 2. -
/tmp/pana_TLWWAW/./screenshots/api-examples.png: Converting screenshot withcwebp "/tmp/pana_TLWWAW/./screenshots/api-examples.png" -o "/tmp/KAJPIS/gen/screenshots/api-examples.webp"failed with exit code 255.
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.dartthat imports:package:flutter_unify/src/adapters/biometric_adapter.dartthat imports:package:local_auth/local_auth.dartthat imports:package:local_auth/src/local_auth.dartthat imports:package:local_auth_windows/local_auth_windows.dartthat declares support for platforms:Windows.
Package does not support platform `iOS`.
Because:
package:flutter_unify/flutter_unify.dartthat imports:package:flutter_unify/src/adapters/biometric_adapter.dartthat imports:package:local_auth/local_auth.dartthat imports:package:local_auth/src/local_auth.dartthat imports:package:local_auth_windows/local_auth_windows.dartthat declares support for platforms:Windows.
Package does not support platform `Windows`.
Because:
package:flutter_unify/flutter_unify.dartthat imports:package:flutter_unify/src/adapters/biometric_adapter.dartthat imports:package:local_auth/local_auth.dartthat imports:package:local_auth/src/local_auth.dartthat imports:package:local_auth_darwin/local_auth_darwin.dartthat declares support for platforms:iOS,macOS.
Package does not support platform `Linux`.
Because:
package:flutter_unify/flutter_unify.dartthat imports:package:flutter_unify/src/adapters/biometric_adapter.dartthat imports:package:local_auth/local_auth.dartthat declares support for platforms:Android,iOS,Windows,macOS.
Package does not support platform `macOS`.
Because:
package:flutter_unify/flutter_unify.dartthat imports:package:flutter_unify/src/adapters/biometric_adapter.dartthat imports:package:local_auth/local_auth.dartthat imports:package:local_auth/src/local_auth.dartthat imports:package:local_auth_windows/local_auth_windows.dartthat declares support for platforms:Windows.
Package does not support platform `Web`.
Because:
package:flutter_unify/flutter_unify.dartthat imports:package:flutter_unify/src/storage/storage_paths.dartthat imports:package:path_provider/path_provider.dartthat declares support for platforms:Android,iOS,Windows,Linux,macOS.
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
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
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.
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 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.