iban_to_bic 0.0.8 copy "iban_to_bic: ^0.0.8" to clipboard
iban_to_bic: ^0.0.8 copied to clipboard

Determines the SWIFT BIC of any AT, BE, DE, LT, LU or NL IBAN.

Determines the SWIFT BIC of an IBAN. Currently supports IBANs from the following countries: Austria, Belgium, Germany, Lithuania, Luxembourg, Netherlands. Inspired by sigalor/iban-to-bic.

Getting started #

Depend on it #

Run this command:

flutter pub add iban_to_bic

Import it #

Now in your Dart code, you can use:

import 'package:iban_to_bic/iban_to_bic.dart';

Example usage #

import 'package:flutter/material.dart';
import 'package:iban_to_bic/iban_to_bic.dart';

Future<void> main() async {
  WidgetsFlutterBinding.ensureInitialized();
  final Bic bic = ibanToBic('DE64 5001 0517 9423 8144 35');
  print('BIC: ${bic.value}');                // result: INGDDEFFXXX
  print('Bank name: ${bic.bankShortName}');  // result: ING-DiBa
  print('Postcode: ${bic.bankPostcode}');    // result: 60628
  print('Location: ${bic.bankLocation}');    // result: Frankfurt am Main
}
0
likes
150
pub points
65%
popularity

Publisher

verified publisherrobertmainzer.de

Determines the SWIFT BIC of any AT, BE, DE, LT, LU or NL IBAN.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

flutter, iban

More

Packages that depend on iban_to_bic