agent_dart 0.1.24+1 copy "agent_dart: ^0.1.24+1" to clipboard
agent_dart: ^0.1.24+1 copied to clipboard

An agent library built for Internet Computer, a plugin package for dart and flutter apps. Developers can build ones to interact with Dfinity's blockchain directly.

21
likes
80/ 140
pub points
67%
popularity

We analyzed this package in the last hour, and awarded it 80 pub points (of a possible 140):

OK
Follow Dart file conventions
30 / 30trigger folding of the section

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.

OK
Provide documentation
20 / 20trigger folding of the section

10/10 points: 20% or more of the public API has dartdoc comments

3181 out of 6315 API elements (50.4 %) have documentation comments.

Some symbols that are missing documentation: actor, actor.Actor.canisterIdOf, actor.Actor.createActor, actor.Actor.createActorClass, actor.Actor.createAndInstallCanister.

10/10 points: Package has an example

OK
Platform support
20 / 20trigger folding of the section

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 not compatible with platform Web

Because:

  • package:agent_dart/agent_dart.dart that imports:
  • package:agent_dart/archiver/archiver.dart that imports:
  • package:agent_dart/archiver/signing_block.dart that imports:
  • package:archive/archive_io.dart that imports:
  • package:archive/src/io/zip_file_encoder.dart that imports:
  • package:archive/src/io/output_file_stream.dart that imports:
  • package:archive/src/io/file_handle.dart that imports:
  • dart:io
failed
Pass static analysis
0 / 50trigger folding of the section

0/50 points: code has no errors, warnings, lints, or formatting issues

Found 80 issues. Showing the first 2:

ERROR: 'SingingBlockZipFileEncoder.zipDirectory' ('void Function(Directory, {String? filename, bool followLinks, int? level, DateTime? modified})') isn't a valid override of 'ZipFileEncoder.zipDirectory' ('void Function(Directory, {String? filename, bool followLinks, int? level, DateTime? modified, void Function(double)? onProgress})').

lib/archiver/encoder.dart:74:8

   ╷
74 │   void zipDirectory(Directory dir,
   │        ^^^^^^^^^^^^
   ╵

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

ERROR: 'SingingBlockZipFileEncoder.addDirectory' ('Future

lib/archiver/encoder.dart:99:16

   ╷
99 │   Future<void> addDirectory(Directory dir,
   │                ^^^^^^^^^^^^
   ╵

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

failed
Support up-to-date dependencies
10 / 20trigger folding of the section

0/10 points: All of the package dependencies are supported in the latest version

Package Constraint Compatible Latest
archive ^3.3.0 3.5.0 3.5.0
args ^2.3.1 2.5.0 2.5.0
basic_utils ^4.2.2 4.5.2 5.7.0
bip32 ^2.0.0 2.0.0 2.0.0
bip39 ^1.0.6 1.0.6 1.0.6
cbor ^4.1.0 4.1.0 6.2.0
collection ^1.16.0 1.18.0 1.18.0
convert ^3.0.1 3.1.1 3.1.1
crypto ^3.0.2 3.0.3 3.0.3
ffi ^1.2.1 1.2.1 2.1.2
fixnum ^1.0.1 1.1.0 1.1.0
flutter flutter 0.0.0 0.0.0
flutter_web_plugins flutter 0.0.0 0.0.0
http ^0.13.4 0.13.6 1.2.1
js ^0.6.4 0.6.7 0.7.1
meta ^1.7.0 1.11.0 1.14.0
path ^1.8.1 1.9.0 1.9.0
pinenacl ^0.3.4 0.3.4 0.5.1
pointycastle ^3.6.0 3.9.0 3.9.0
protobuf ^2.0.1 2.1.0 3.1.0
recase ^4.0.0 4.1.0 4.1.0
tuple ^2.0.0 2.0.2 2.0.2
typed_data ^1.3.1 1.3.2 1.3.2
uuid ^3.0.6 3.0.7 4.4.0
validators ^3.0.0 3.0.0 3.0.0
Transitive dependencies
Package Constraint Compatible Latest
async - 2.11.0 2.11.0
bs58check - 1.0.2 1.0.2
characters - 1.3.0 1.3.0
hex - 0.2.0 0.2.0
http_parser - 4.0.2 4.0.2
json_annotation - 4.9.0 4.9.0
logging - 1.2.0 1.2.0
material_color_utilities - 0.8.0 0.11.1
sky_engine - 0.0.99 0.0.99
source_span - 1.10.0 1.10.0
string_scanner - 1.2.0 1.2.0
term_glyph - 1.2.1 1.2.1
vector_math - 2.1.4 2.1.4

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

Found 8 issues. Showing the first 2:

The constraint `^4.2.2` on basic_utils does not support the stable version `5.0.0`.

Try running dart pub upgrade --major-versions basic_utils to update the constraint.

The constraint `^4.1.0` on cbor does not support the stable version `5.0.0`.

Try running dart pub upgrade --major-versions cbor to update the constraint.

10/10 points: Package supports latest stable Dart and Flutter SDKs

Analyzed with Pana 0.22.3, Flutter 3.19.5, Dart 3.3.3.

Check the analysis log for details.

21
likes
80
pub points
67%
popularity

Publisher

verified publisherastrox.io

An agent library built for Internet Computer, a plugin package for dart and flutter apps. Developers can build ones to interact with Dfinity's blockchain directly.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

archive, args, basic_utils, bip32, bip39, cbor, collection, convert, crypto, ffi, fixnum, flutter, flutter_web_plugins, http, js, meta, path, pinenacl, pointycastle, protobuf, recase, tuple, typed_data, uuid, validators

More

Packages that depend on agent_dart