nostr_widgets 1.1.4
nostr_widgets: ^1.1.4 copied to clipboard
A Flutter UI package providing ready-to-use widgets.
We analyzed this package 22 hours ago, and awarded it 110 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
186 out of 322 API elements (57.8 %) have documentation comments.
Some symbols that are missing documentation: accounts, accounts.AccountKinds, accounts.NostrAccount, accounts.NostrAccount.NostrAccount.fromJson, accounts.NostrAccount.NostrAccount.new.
10/10 points: Package has an example
20/20 points: Supports 1 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
- ✓ Android
These platforms are not supported:
Package does not support platform `iOS`.
Because:
package:nostr_widgets/nostr_widgets.dartthat imports:package:nostr_widgets/functions/functions.dartthat imports:package:nostr_widgets/functions/n_restore_accounts.dartthat imports:package:ndk_amber/data_layer/repositories/signers/amber_event_signer.dartthat declares support for platforms:Android.
Package does not support platform `Windows`.
Because:
package:nostr_widgets/nostr_widgets.dartthat imports:package:nostr_widgets/functions/functions.dartthat imports:package:nostr_widgets/functions/n_restore_accounts.dartthat imports:package:ndk_amber/data_layer/repositories/signers/amber_event_signer.dartthat declares support for platforms:Android.
Package does not support platform `Linux`.
Because:
package:nostr_widgets/nostr_widgets.dartthat imports:package:nostr_widgets/functions/functions.dartthat imports:package:nostr_widgets/functions/n_restore_accounts.dartthat imports:package:ndk_amber/data_layer/repositories/signers/amber_event_signer.dartthat declares support for platforms:Android.
Package does not support platform `macOS`.
Because:
package:nostr_widgets/nostr_widgets.dartthat imports:package:nostr_widgets/functions/functions.dartthat imports:package:nostr_widgets/functions/n_restore_accounts.dartthat imports:package:ndk_amber/data_layer/repositories/signers/amber_event_signer.dartthat declares support for platforms:Android.
Package does not support platform `Web`.
Because:
package:nostr_widgets/nostr_widgets.dartthat imports:package:nostr_widgets/functions/functions.dartthat imports:package:nostr_widgets/functions/n_restore_accounts.dartthat imports:package:ndk_amber/data_layer/repositories/signers/amber_event_signer.dartthat declares support for platforms:Android.
0/0 points: WASM compatibility
Unable to detect compatibility with runtime wasm, and this package will not be rewarded full points in a future version of the scoring model.
See https://dart.cn/web/wasm for details.
0/50 points: code has no errors, warnings, lints, or formatting issues
Found 3 issues. Showing the first 2:
ERROR: The named parameter 'cachedPublicKey' isn't defined.
lib/functions/n_restore_accounts.dart:56:9
╷
56 │ cachedPublicKey: account.pubkey,
│ ^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/functions/n_restore_accounts.dart
INFO: Don't use 'BuildContext's across async gaps.
lib/controllers/n_login_controller.dart:149:22
╷
149 │ Navigator.of(context).pop();
│ ^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/controllers/n_login_controller.dart
10/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
amberflutter |
^0.0.9 |
0.0.9 | 0.0.9 | |
crypto |
^3.0.6 |
3.0.7 | 3.0.7 | |
flutter_secure_storage |
^9.2.4 |
9.2.4 | 9.2.4 | |
http |
^1.4.0 |
1.5.0 | 1.5.0 | |
intl |
^0.20.2 |
0.20.2 | 0.20.2 | |
ndk |
any |
0.5.1 | 0.5.1 | |
ndk_amber |
^0.3.2 |
0.3.2 | 0.3.2 | |
nip01 |
^0.3.0+1 |
0.3.0+1 | 0.3.0+1 | |
nip07_event_signer |
^1.0.2 |
1.0.2 | 1.0.2 | |
nip19 |
^0.2.0 |
0.2.0 | 0.2.0 | |
pretty_qr_code |
^3.5.0 |
3.5.0 | 3.5.0 | |
toastification |
^3.0.3 |
3.0.3 | 3.0.3 | |
url_launcher |
^6.3.2 |
6.3.2 | 6.3.2 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
ascii_qr |
- | 1.0.1 | 1.0.1 | |
async |
- | 2.13.0 | 2.13.0 | |
bech32 |
- | 0.2.2 | 0.2.2 | |
bip340 |
- | 0.3.1 | 0.3.1 | |
characters |
- | 1.4.0 | 1.4.1 | |
clock |
- | 1.1.2 | 1.1.2 | |
collection |
- | 1.19.1 | 1.19.1 | |
convert |
- | 3.1.2 | 3.1.2 | |
cryptography |
- | 2.7.0 | 2.7.0 | |
dartstr_utils |
- | 0.0.2 | 0.0.2 | |
elliptic |
- | 0.3.12 | 0.3.12 | |
equatable |
- | 2.0.7 | 2.0.7 | |
ffi |
- | 2.1.4 | 2.1.4 | |
fixnum |
- | 1.1.1 | 1.1.1 | |
flutter_secure_storage_linux |
- | 1.2.3 | 2.0.1 | |
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.0.0 | |
flutter_secure_storage_windows |
- | 3.1.2 | 4.0.0 | |
freezed_annotation |
- | 3.1.0 | 3.1.0 | |
hex |
- | 0.2.0 | 0.2.0 | |
http_parser |
- | 4.1.2 | 4.1.2 | |
iconsax_flutter |
- | 1.0.1 | 1.0.1 | |
js |
- | 0.6.7 | 0.7.2 | Discontinued |
json_annotation |
- | 4.9.0 | 4.9.0 | |
logger |
- | 2.6.2 | 2.6.2 | |
material_color_utilities |
- | 0.11.1 | 0.13.0 | |
meta |
- | 1.16.0 | 1.17.0 | |
path |
- | 1.9.1 | 1.9.1 | |
path_provider |
- | 2.1.5 | 2.1.5 | |
path_provider_android |
- | 2.2.20 | 2.2.20 | |
path_provider_foundation |
- | 2.4.3 | 2.4.3 | |
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 | |
pausable_timer |
- | 3.1.0+3 | 3.1.0+3 | |
platform |
- | 3.1.6 | 3.1.6 | |
plugin_platform_interface |
- | 2.1.8 | 2.1.8 | |
pointycastle |
- | 4.0.0 | 4.0.0 | |
qr |
- | 3.0.2 | 3.0.2 | |
rxdart |
- | 0.28.0 | 0.28.0 | |
source_span |
- | 1.10.1 | 1.10.1 | |
stream_channel |
- | 2.1.4 | 2.1.4 | |
string_scanner |
- | 1.4.1 | 1.4.1 | |
synchronized |
- | 3.4.0 | 3.4.0 | |
term_glyph |
- | 1.2.2 | 1.2.2 | |
typed_data |
- | 1.4.0 | 1.4.0 | |
url_launcher_android |
- | 6.3.24 | 6.3.24 | |
url_launcher_ios |
- | 6.3.5 | 6.3.5 | |
url_launcher_linux |
- | 3.2.1 | 3.2.1 | |
url_launcher_macos |
- | 3.2.4 | 3.2.4 | |
url_launcher_platform_interface |
- | 2.3.2 | 2.3.2 | |
url_launcher_web |
- | 2.4.1 | 2.4.1 | |
url_launcher_windows |
- | 3.1.4 | 3.1.4 | |
uuid |
- | 4.5.2 | 4.5.2 | |
vector_math |
- | 2.2.0 | 2.2.0 | |
web |
- | 1.1.1 | 1.1.1 | |
web_socket |
- | 1.0.1 | 1.0.1 | |
web_socket_channel |
- | 3.0.3 | 3.0.3 | |
web_socket_client |
- | 0.2.1 | 0.2.1 | |
win32 |
- | 5.15.0 | 5.15.0 | |
xdg_directories |
- | 1.1.0 | 1.1.0 | |
xxh3 |
- | 1.2.0 | 1.2.0 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
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.23.0, Flutter 3.35.7, Dart 3.9.2.
Check the analysis log for details.