siarashield_flutter 0.0.9
siarashield_flutter: ^0.0.9 copied to clipboard
siarashield_flutter is a package that enables authentication using SiaraShield in Flutter applications.
We analyzed this package 2 hours ago, and awarded it 150 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: GPL-3.0
.
10/10 points: 20% or more of the public API has dartdoc comments
69 out of 197 API elements (35.0 %) have documentation comments.
Some symbols that are missing documentation: app_constant
, app_constant.ApiConstant.ApiConstant.new
, app_constant.AppColors
, app_constant.AppColors.blackColor
, app_constant.AppColors.blueColor
.
10/10 points: Package has an example
20/20 points: Supports 3 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Android
-
✓ iOS
-
✓ Web
These platforms are not supported:
Package does not support platform `Windows`.
Because:
package:siarashield_flutter/siarashield_flutter.dart
that declares support for platforms:Android
,iOS
,Web
.
Package does not support platform `Linux`.
Because:
package:siarashield_flutter/siarashield_flutter.dart
that declares support for platforms:Android
,iOS
,Web
.
Package does not support platform `macOS`.
Because:
package:siarashield_flutter/siarashield_flutter.dart
that declares support for platforms:Android
,iOS
,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:siarashield_flutter/siarashield_flutter.dart
that imports:package:siarashield_flutter/controllers/sara_shield_controller.dart
that imports:package:siarashield_flutter/constants/dio_service.dart
that imports:package:connectivity_plus/connectivity_plus.dart
that imports:package:connectivity_plus/src/connectivity_plus_linux.dart
that imports:package:nm/nm.dart
that declares support for platforms:Linux
.
Package does not support platform `iOS`.
Because:
package:siarashield_flutter/siarashield_flutter.dart
that imports:package:siarashield_flutter/controllers/sara_shield_controller.dart
that imports:package:siarashield_flutter/constants/dio_service.dart
that imports:package:connectivity_plus/connectivity_plus.dart
that imports:package:connectivity_plus/src/connectivity_plus_linux.dart
that imports:package:nm/nm.dart
that declares support for platforms:Linux
.
Package does not support platform `Web`.
Because:
package:siarashield_flutter/siarashield_flutter.dart
that imports:package:siarashield_flutter/controllers/sara_shield_controller.dart
that imports:package:siarashield_flutter/common/custom_widgets.dart
that imports:package:cached_network_image/cached_network_image.dart
that imports:package:cached_network_image/src/image_provider/cached_network_image_provider.dart
that imports:package:flutter_cache_manager/flutter_cache_manager.dart
that imports:package:flutter_cache_manager/src/storage/file_system/file_system.dart
that imports:package:flutter_cache_manager/src/storage/file_system/file_system_io.dart
that imports:package:path_provider/path_provider.dart
that declares support for platforms:Android
,iOS
,Windows
,Linux
,macOS
.
0/0 points: WASM compatibility
Package not compatible with runtime wasm
Because:
package:siarashield_flutter/siarashield_flutter.dart
that imports:package:siarashield_flutter/controllers/sara_shield_controller.dart
that imports:package:siarashield_flutter/common/custom_widgets.dart
that imports:package:fluttertoast/fluttertoast.dart
that imports:dart:io
This package is not compatible with runtime wasm
, and will not be rewarded full points in a future version of the scoring model.
See https://dart.dev/web/wasm for details.
0/0 points: Swift Package Manager support
Package does not support the Swift Package Manager on iOS
It does not contain ios/siarashield_flutter/Package.swift
.
This package for iOS or macOS does not support the Swift Package Manager. It will not receive full points in a future version of the scoring model.
See https://docs.flutter.dev/to/spm for details.
40/50 points: code has no errors, warnings, lints, or formatting issues
Found 9 issues. Showing the first 2:
INFO: 'dart:html' is deprecated and shouldn't be used. Use package:web and dart:js_interop instead.
lib/siarashield_flutter_web.dart:5:1
╷
5 │ import 'dart:html' as html show window;
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/siarashield_flutter_web.dart
/tmp/pana_IFTVJT/lib/constants/app_constant.dart doesn't match the Dart formatter.
To format your files run: dart format .
10/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest | Notes |
---|---|---|---|---|
cached_network_image |
^3.4.1 |
3.4.1 | 3.4.1 | |
connectivity_plus |
^6.1.2 |
6.1.4 | 6.1.4 | |
device_info_plus |
^11.2.1 |
11.4.0 | 11.4.0 | |
dio |
^5.7.0 |
5.8.0+1 | 5.8.0+1 | |
flutter_udid |
^4.0.0 |
4.0.0 | 4.0.0 | |
fluttertoast |
^8.2.10 |
8.2.12 | 8.2.12 | |
get |
^4.6.6 |
4.7.2 | 4.7.2 | |
permission_handler |
^11.3.1 |
11.4.0 | 12.0.0+1 | |
plugin_platform_interface |
^2.1.8 |
2.1.8 | 2.1.8 | |
public_ip_address |
^1.2.0 |
1.2.1 | 1.2.1 | |
shared_preferences |
^2.3.5 |
2.5.3 | 2.5.3 |
Transitive dependencies
Package | Constraint | Compatible | Latest | Notes |
---|---|---|---|---|
args |
- | 2.7.0 | 2.7.0 | |
async |
- | 2.13.0 | 2.13.0 | |
cached_network_image_platform_interface |
- | 4.1.1 | 4.1.1 | |
cached_network_image_web |
- | 1.3.1 | 1.3.1 | |
characters |
- | 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 | |
crypto |
- | 3.0.6 | 3.0.6 | |
dbus |
- | 0.7.11 | 0.7.11 | |
device_info_plus_platform_interface |
- | 7.0.2 | 7.0.2 | |
dio_web_adapter |
- | 2.1.1 | 2.1.1 | |
ffi |
- | 2.1.4 | 2.1.4 | |
file |
- | 7.0.1 | 7.0.1 | |
fixnum |
- | 1.1.1 | 1.1.1 | |
flutter_cache_manager |
- | 3.4.1 | 3.4.1 | |
http |
- | 1.3.0 | 1.3.0 | |
http_parser |
- | 4.1.2 | 4.1.2 | |
material_color_utilities |
- | 0.11.1 | 0.12.0 | |
meta |
- | 1.16.0 | 1.16.0 | |
nm |
- | 0.5.0 | 0.5.0 | |
octo_image |
- | 2.1.0 | 2.1.0 | |
path |
- | 1.9.1 | 1.9.1 | |
path_provider |
- | 2.1.5 | 2.1.5 | |
path_provider_android |
- | 2.2.17 | 2.2.17 | |
path_provider_foundation |
- | 2.4.1 | 2.4.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 | |
permission_handler_android |
- | 12.1.0 | 13.0.1 | |
permission_handler_apple |
- | 9.4.7 | 9.4.7 | |
permission_handler_html |
- | 0.1.3+5 | 0.1.3+5 | |
permission_handler_platform_interface |
- | 4.3.0 | 4.3.0 | |
permission_handler_windows |
- | 0.2.1 | 0.2.1 | |
petitparser |
- | 6.1.0 | 6.1.0 | |
platform |
- | 3.1.6 | 3.1.6 | |
rxdart |
- | 0.28.0 | 0.28.0 | |
shared_preferences_android |
- | 2.4.10 | 2.4.10 | |
shared_preferences_foundation |
- | 2.5.4 | 2.5.4 | |
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 | |
source_span |
- | 1.10.1 | 1.10.1 | |
sprintf |
- | 7.0.0 | 7.0.0 | |
sqflite |
- | 2.4.2 | 2.4.2 | |
sqflite_android |
- | 2.4.1 | 2.4.1 | |
sqflite_common |
- | 2.5.5 | 2.5.5 | |
sqflite_darwin |
- | 2.4.2 | 2.4.2 | |
sqflite_platform_interface |
- | 2.4.0 | 2.4.0 | |
string_scanner |
- | 1.4.1 | 1.4.1 | |
synchronized |
- | 3.3.1 | 3.3.1 | |
term_glyph |
- | 1.2.2 | 1.2.2 | |
typed_data |
- | 1.4.0 | 1.4.0 | |
uuid |
- | 4.5.1 | 4.5.1 | |
vector_math |
- | 2.1.4 | 2.1.5 | |
web |
- | 1.1.1 | 1.1.1 | |
win32 |
- | 5.12.0 | 5.12.0 | |
win32_registry |
- | 2.1.0 | 2.1.0 | |
xdg_directories |
- | 1.1.0 | 1.1.0 | |
xml |
- | 6.5.0 | 6.5.0 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides
.
The constraint `^11.3.1` on permission_handler does not support the stable version `12.0.0`, that was published 12 days ago.
When permission_handler is 30 days old, this package will no longer be awarded points in this category.
Try running dart pub upgrade --major-versions permission_handler
to update the constraint.
10/10 points: Package supports latest stable Dart and Flutter SDKs
20/20 points: Compatible with dependency constraint lower bounds
pub downgrade
does not expose any static analysis error.
Analyzed with Pana 0.22.20
, Flutter 3.29.2
, Dart 3.7.2
.
Check the analysis log for details.