ndk_flutter 0.1.0-dev.2 copy "ndk_flutter: ^0.1.0-dev.2" to clipboard
ndk_flutter: ^0.1.0-dev.2 copied to clipboard

A Flutter UI package providing ready-to-use widgets.

110/ 160
pub points
803
downloads

We analyzed this package 8 hours ago, and awarded it 110 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

3537 out of 3764 API elements (94.0 %) have documentation comments.

Some symbols that are missing documentation: accounts, accounts.AccountKinds, accounts.NostrAccount, accounts.NostrAccount.NostrAccount.fromJson, accounts.NostrAccount.NostrAccount.new.

Failed check 0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

Partially passed report section
Platform support
10 / 20trigger folding of the section

Partially passed check 10/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 `iOS`.

Because:

  • package:ndk_flutter/ndk_flutter.dart that imports:
  • package:ndk_flutter/widgets/widgets.dart that imports:
  • package:ndk_flutter/widgets/wallets/n_add_wallet_dialogs.dart that imports:
  • package:android_intent_plus/android_intent.dart that declares support for platforms: Android.
Package does not support platform `Windows`.

Because:

  • package:ndk_flutter/ndk_flutter.dart that imports:
  • package:ndk_flutter/widgets/widgets.dart that imports:
  • package:ndk_flutter/widgets/wallets/n_add_wallet_dialogs.dart that imports:
  • package:mobile_scanner/mobile_scanner.dart that declares support for platforms: Android, iOS, macOS, Web.
Package does not support platform `Linux`.

Because:

  • package:ndk_flutter/ndk_flutter.dart that imports:
  • package:ndk_flutter/widgets/widgets.dart that imports:
  • package:ndk_flutter/widgets/wallets/n_add_wallet_dialogs.dart that imports:
  • package:mobile_scanner/mobile_scanner.dart that declares support for platforms: Android, iOS, macOS, Web.
Package does not support platform `macOS`.

Because:

  • package:ndk_flutter/ndk_flutter.dart that imports:
  • package:ndk_flutter/widgets/widgets.dart that imports:
  • package:ndk_flutter/widgets/wallets/n_add_wallet_dialogs.dart that imports:
  • package:android_intent_plus/android_intent.dart that declares support for platforms: Android.
Package does not support platform `Web`.

Because:

  • package:ndk_flutter/ndk_flutter.dart that imports:
  • package:ndk_flutter/widgets/widgets.dart that imports:
  • package:ndk_flutter/widgets/wallets/n_add_wallet_dialogs.dart that imports:
  • package:android_intent_plus/android_intent.dart that declares support for platforms: Android.

WASM compatibility:

Package not compatible with runtime wasm

Because:

  • package:ndk_flutter/ndk_flutter.dart that imports:
  • package:ndk_flutter/widgets/widgets.dart that imports:
  • package:ndk_flutter/widgets/wallets/n_add_wallet_dialogs.dart that imports:
  • package:android_intent_plus/android_intent.dart that imports:
  • package:platform/platform.dart that imports:
  • package:platform/src/interface/local_platform.dart that imports:
  • dart:io

Note: This package supports Web but is not WASM-compatible, resulting in a partial score. See https://dart.dev/web/wasm for details.

Partially passed report section
Pass static analysis
40 / 50trigger folding of the section

Partially passed check 40/50 points: code has no errors, warnings, lints, or formatting issues

Found 12 issues. Showing the first 2:

INFO: The import of 'package:amberflutter/amberflutter.dart' is unnecessary because all of the used elements are also provided by the import of 'package:ndk_amber/ndk_amber.dart'.

lib/main/ndk_flutter.dart:3:8

  ╷
3 │ import 'package:amberflutter/amberflutter.dart';
  │        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/main/ndk_flutter.dart

INFO: The import of 'package:amberflutter/amberflutter.dart' is unnecessary because all of the used elements are also provided by the import of 'package:ndk_amber/ndk_amber.dart'.

lib/widgets/login/login_controller.dart:1:8

  ╷
1 │ import 'package:amberflutter/amberflutter.dart';
  │        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/widgets/login/login_controller.dart

Failed report section
Support up-to-date dependencies
20 / 40trigger folding of the section

Passed check 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
android_intent_plus ^6.0.0 6.0.0 6.0.0
crypto >=3.0.0 <4.0.0 3.0.7 3.0.7
flutter_secure_storage >=8.0.0 <11.0.0 10.0.0 10.0.0
http >=1.0.0 <2.0.0 1.6.0 1.6.0
intl ^0.20.2 0.20.2 0.20.2
mobile_scanner ^7.1.4 7.2.0 7.2.0
ndk ^0.8.0-dev.2 0.8.0-dev.2 0.8.0-dev.2
ndk_amber ^0.4.1-dev.5 0.4.1-dev.5 0.4.1
nip07_event_signer ^1.0.7-dev.5 1.0.7-dev.5 1.0.7-dev.5
pretty_qr_code >=3.0.0 <4.0.0 3.6.0 3.6.0
toastification >=3.0.0 <4.0.0 3.0.3 3.0.3
url_launcher >=6.0.0 <7.0.0 6.3.2 6.3.2
web >=1.0.0 <2.0.0 1.1.1 1.1.1
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
bip39_mnemonic - 4.0.1 4.0.1
bs58check - 1.0.2 1.0.2
cbor - 6.5.1 6.5.1
characters - 1.4.1 1.4.1
clock - 1.1.2 1.1.2
code_assets - 1.0.0 1.0.0
collection - 1.19.1 1.19.1
convert - 3.1.2 3.1.2
cryptography - 2.9.0 2.9.0
elliptic - 0.3.12 0.3.12
equatable - 2.0.8 2.0.8
ffi - 2.2.0 2.2.0
file - 7.0.1 7.0.1
fixnum - 1.1.1 1.1.1
flutter_secure_storage_darwin - 0.2.0 0.2.0
flutter_secure_storage_linux - 3.0.0 3.0.0
flutter_secure_storage_platform_interface - 2.0.1 2.0.1
flutter_secure_storage_web - 2.1.0 2.1.0
flutter_secure_storage_windows - 4.1.0 4.1.0
glob - 2.1.3 2.1.3
hex - 0.2.0 0.2.0
hooks - 1.0.2 1.0.2
http_parser - 4.1.2 4.1.2
iconsax_flutter - 1.0.1 1.0.1
logging - 1.3.0 1.3.0
material_color_utilities - 0.13.0 0.13.0
meta - 1.17.0 1.18.2
native_toolchain_c - 0.17.6 0.17.6
native_toolchain_rust - 1.0.3 1.0.3
ndk_bip32_keys - 0.1.0-dev.1 0.1.0-dev.1
objective_c - 9.3.0 9.3.0
path - 1.9.1 1.9.1
path_provider - 2.1.5 2.1.5
path_provider_android - 2.2.22 2.2.22
path_provider_foundation - 2.6.0 2.6.0
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
petitparser - 7.0.2 7.0.2
platform - 3.1.6 3.1.6
plugin_platform_interface - 2.1.8 2.1.8
pointycastle - 4.0.0 4.0.0
pub_semver - 2.2.0 2.2.0
qr - 3.0.2 3.0.2
rxdart - 0.28.0 0.28.0
sembast - 3.8.6 3.8.6
source_span - 1.10.2 1.10.2
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
toml - 0.18.0 0.18.0
typed_data - 1.4.0 1.4.0
unorm_dart - 0.3.2 0.3.2
url_launcher_android - 6.3.28 6.3.28
url_launcher_ios - 6.4.1 6.4.1
url_launcher_linux - 3.2.2 3.2.2
url_launcher_macos - 3.2.5 3.2.5
url_launcher_platform_interface - 2.3.2 2.3.2
url_launcher_web - 2.4.2 2.4.2
url_launcher_windows - 3.1.5 3.1.5
uuid - 4.5.3 4.5.3
vector_math - 2.2.0 2.3.0
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 6.0.0
xdg_directories - 1.1.0 1.1.0
xxh3 - 1.2.0 1.2.0
yaml - 3.1.3 3.1.3

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

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 17 errors:

  • UNDEFINED_METHOD - lib/widgets/login/login_controller.dart:107:7 - The method 'launchUrl' isn't defined for the type 'LoginController'.
  • UNDEFINED_METHOD - lib/widgets/login/login_controller.dart:193:31 - The method 'launchUrl' isn't defined for the type 'LoginController'.
  • UNDEFINED_METHOD - lib/widgets/login/n_login.dart:95:21 - The method 'launchUrl' isn't defined for the type '_NLoginState'.

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.11, Flutter 3.41.4, Dart 3.11.1.

Check the analysis log for details.

Weekly downloads

Display as:
By versions: