peppermint_sdk 2.0.4
peppermint_sdk: ^2.0.4 copied to clipboard
A flutter plugin that let you easily create and manage web3 wallet and support funcitionality of Peppermint
We analyzed this package 15 hours ago, and awarded it 120 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
64 out of 237 API elements (27.0 %) have documentation comments.
Some symbols that are missing documentation: peppermint_sdk
, peppermint_sdk.AudioWidget
, peppermint_sdk.AudioWidget.AudioWidget.new
, peppermint_sdk.AudioWidget.audible
, peppermint_sdk.AudioWidget.data
.
10/10 points: Package has an example
20/20 points: Supports 2 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Android
-
✓ iOS
These platforms are not supported:
Package does not support platform `Windows`.
Because:
package:peppermint_sdk/peppermint_sdk.dart
that imports:package:peppermint_sdk/src/widgets/media/media_gram.dart
that imports:package:video_player/video_player.dart
that declares support for platforms:Android
,iOS
,macOS
,Web
.
Package does not support platform `Linux`.
Because:
package:peppermint_sdk/peppermint_sdk.dart
that imports:package:peppermint_sdk/src/widgets/media/media_gram.dart
that imports:package:video_player/video_player.dart
that declares support for platforms:Android
,iOS
,macOS
,Web
.
Package does not support platform `macOS`.
Because:
package:peppermint_sdk/peppermint_sdk.dart
that imports:package:peppermint_sdk/src/widgets/media/media_gram.dart
that imports:package:model_viewer_plus/model_viewer_plus.dart
that declares support for platforms:Android
,iOS
,Web
.
Package does not support platform `Web`.
Because:
package:peppermint_sdk/peppermint_sdk.dart
that imports:package:peppermint_sdk/src/widgets/media/media_gram.dart
that imports:package:model_viewer_plus/model_viewer_plus.dart
that imports:package:model_viewer_plus/src/model_viewer_plus.dart
that imports:package:webview_flutter/webview_flutter.dart
that declares support for platforms:Android
,iOS
,macOS
.
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:peppermint_sdk/peppermint_sdk.dart
that imports:package:peppermint_sdk/src/widgets/media/media_gram.dart
that imports:package:model_viewer_plus/model_viewer_plus.dart
that imports:package:model_viewer_plus/src/model_viewer_plus.dart
that imports:package:model_viewer_plus/src/model_viewer_plus_mobile.dart
that imports:package:webview_flutter_wkwebview/webview_flutter_wkwebview.dart
that declares support for platforms:iOS
,macOS
.
Package does not support platform `iOS`.
Because:
package:peppermint_sdk/peppermint_sdk.dart
that imports:package:peppermint_sdk/src/widgets/media/media_gram.dart
that imports:package:model_viewer_plus/model_viewer_plus.dart
that imports:package:model_viewer_plus/src/model_viewer_plus.dart
that imports:package:model_viewer_plus/src/model_viewer_plus_mobile.dart
that imports:package:webview_flutter_android/webview_flutter_android.dart
that declares support for platforms:Android
.
0/0 points: WASM compatibility
Package not compatible with runtime wasm
Because:
package:peppermint_sdk/peppermint_sdk.dart
that imports:package:peppermint_sdk/src/widgets/media/media_gram.dart
that imports:package:video_player/video_player.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.
40/50 points: code has no errors, warnings, lints, or formatting issues
Found 15 issues. Showing the first 2:
INFO: Angle brackets will be interpreted as HTML.
lib/src/peppermint_connect.dart:42:37
╷
42 │ /// This function returns a Future<WCAttributes> that contains a WCAttributes object
│ ^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/peppermint_connect.dart
INFO: Angle brackets will be interpreted as HTML.
lib/src/peppermint_connect.dart:182:37
╷
182 │ /// This function returns a Future<WCAttributes> that contains the updated WCAttributes
│ ^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/peppermint_connect.dart
0/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest | Notes |
---|---|---|---|---|
audioplayers |
^5.0.0 |
5.2.1 | 6.5.0 | |
cached_network_image |
^3.2.0 |
3.3.1 | 3.4.1 | |
camera |
^0.10.1 |
0.10.6 | 0.11.1 | |
colorfilter_generator |
^0.0.8 |
0.0.8 | 0.0.8 | |
dio |
^5.3.2 |
5.8.0+1 | 5.8.0+1 | |
eth_sig_util |
^0.0.3 |
0.0.9 | 0.0.9 | |
file_picker |
^5.2.5 |
5.5.0 | 10.2.0 | |
flutter_colorpicker |
^1.0.3 |
1.1.0 | 1.1.0 | |
flutter_secure_storage |
^8.0.0 |
8.1.0 | 9.2.4 | |
flutter_svg |
^2.0.7 |
2.0.9 | 2.2.0 | |
get |
^4.6.5 |
4.7.2 | 4.7.2 | |
hand_signature |
^3.0.1 |
3.1.0 | 3.1.0 | |
http |
^0.13.5 |
0.13.6 | 1.4.0 | |
image |
^4.0.17 |
4.3.0 | 4.5.4 | |
image_cropper |
^4.0.1 |
4.0.1 | 9.1.0 | |
image_editor |
^1.3.0 |
1.6.0 | 1.6.0 | |
image_editor_plus |
^0.2.3 |
0.2.6 | 1.0.6 | |
lottie |
^2.2.0 |
2.7.0 | 3.3.1 | |
model_viewer_plus |
^1.3.3 |
1.8.0 | 1.9.3 | |
nb_utils |
^6.0.0 |
6.0.7 | 7.1.6 | |
path |
^1.0.1 |
1.9.1 | 1.9.1 | |
path_provider |
^2.0.9 |
2.1.5 | 2.1.5 | |
screenshot |
^2.1.0 |
2.5.0 | 3.0.0 | |
video_player |
^2.4.9 |
2.10.0 | 2.10.0 | |
visibility_detector |
^0.4.0+2 |
0.4.0+2 | 0.4.0+2 | |
wallet_connect |
^1.0.4 |
1.0.4 | 1.0.4 | |
web3dart |
^2.3.5 |
2.6.1 | 3.0.1 |
Transitive dependencies
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides
.
Found 11 issues. Showing the first 2:
The constraint `^5.0.0` on audioplayers does not support the stable version `6.0.0`.
Try running dart pub upgrade --major-versions audioplayers
to update the constraint.
The constraint `^0.10.1` on camera does not support the stable version `0.11.0`.
Try running dart pub upgrade --major-versions camera
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 2 errors:
UNDEFINED_METHOD
-lib/src/peppermint_connect.dart:200:32
- The method 'signPersonalMessageToUint8List' isn't defined for the type 'EthPrivateKey'.UNDEFINED_METHOD
-lib/src/widgets/media/media_gram.dart:194:35
- The method 'networkUrl' isn't defined for the type 'VideoPlayerController'.
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.22.21
, Flutter 3.32.4
, Dart 3.8.1
.
Check the analysis log for details.