boleto 0.0.1 copy "boleto: ^0.0.1" to clipboard
boleto: ^0.0.1 copied to clipboard

A package to handle banking billets (Also known as "Boleto") conversion and validation.

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

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!);

2
likes
100
pub points
3%
popularity

Publisher

unverified uploader

A package to handle banking billets (Also known as "Boleto") conversion and validation.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

flutter

More

Packages that depend on boleto