/web3dart_builders

Extension of the web3dart package that includes the dart contract generator from abi

Primary LanguageDartMIT LicenseMIT

Description

This project is part of this repository simolus3/web3dart.

Since it is now maintained by another developer (xclud/web3dart)

who decided to remove the generator code after version 2.3.5,

in order to move this code as a separate dependency so that it can be placed in dev_dependencies,

a package was created web3dart_builders

The source code has not been edited, except for importing libraries and tests, the test cases have been modified according to the code that was generated on my computer. (Tests from the original repository failed)

Installation

  1. Add to pubspec.yaml in your project: dev_dependencies: web3dart_builders: ^0.0.1 or call

    dart pub add build_runner --dev

  2. Remove all from file flutter/.pub-cache/hosted/pub.dartlang.org/web3dart-2.4.1/build.yaml file from web3dart package Or wait where (xclud/web3dart accept a pull request #30 remove build.yaml)

Usage

pub run build_runner build

or

pub run build_runner watch

Test

dart test