Skip to content

viniciusamelio/boleto

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

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

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages