brcode 0.0.2 copy "brcode: ^0.0.2" to clipboard
brcode: ^0.0.2 copied to clipboard

Generates Pix code.

example/brcode_example.dart

import 'package:brcode/brcode.dart';

void main() {
  final brCode = BRCode(
    pixKey: '123',
    merchantName: 'Enrique',
    merchantCity: 'São Paulo',
    amount: 5,
    postalCode: '01153000',
    pointOfInitiationMethod: PointOfInitiationMethod.nonUnique,
  );

  final code = brCode.generate();

  print('Generated: $code');
}
5
likes
140
points
28
downloads

Publisher

unverified uploader

Weekly Downloads

Generates Pix code.

Homepage
Repository (GitHub)

Documentation

API reference

License

MIT (license)

Dependencies

crc, crclib, diacritic, luthor, slugify

More

Packages that depend on brcode