card_scanner_mine 1.0.2 card_scanner_mine: ^1.0.2 copied to clipboard
Credit card scanner for Flutter.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add card_scanner_mine
With Flutter:
$ flutter pub add card_scanner_mine
This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get
):
dependencies:
card_scanner_mine: ^1.0.2
Alternatively, your editor might support dart pub get
or flutter pub get
. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:card_scanner_mine/card_scanner.dart';
import 'package:card_scanner_mine/card_scanner_plugin.dart';
import 'package:card_scanner_mine/scan_options.dart';
import 'package:card_scanner_mine/scanned_card_model.dart';