0 purchases
boleto
Features #
Barcode conversion to digitable line;
Billet info extraction from line;
Getting started #
All you need to do is add this to your project
flutter pub add boleto
copied to clipboard
Usage #
import "packages:boleto/boleto.dart";
const validator = Boleto();
// Getting line from a barcode
final String? line = validator.getLineFromBarcode(barcode);
// Getting billet amount
final double amount = validator.getAmount(line!);
// Getting expire date
final Datetime expireDate = validator.getExpireDate(line!);
final String bankCode = validator.getBankCode(line!);
copied to clipboard
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.