flutter_credit_card_scanner 0.11.9 copy "flutter_credit_card_scanner: ^0.11.9" to clipboard
flutter_credit_card_scanner: ^0.11.9 copied to clipboard

A Flutter package that utilizes the device camera to scan and extract credit card information. by using Google ML for Android and Apple Vision for iOS.

example/lib/main.dart

import 'dart:io';

import 'package:firebase_core/firebase_core.dart';
import 'package:flutter/material.dart';
import 'package:flutter_credit_card_scanner_example/app.dart';
import 'package:flutter_credit_card_scanner_example/firebase_options.dart';

void main() async {
  WidgetsFlutterBinding.ensureInitialized();
  if (Platform.isAndroid) {
    // init FIREBASE
    await Firebase.initializeApp(
        options: DefaultFirebaseOptions.currentPlatform);
  }
  runApp(const MyMaterialApp());
}

class MyMaterialApp extends StatelessWidget {
  const MyMaterialApp({super.key});

  @override
  Widget build(BuildContext context) {
    return const MaterialApp(
      home: Scaffold(body: MyAppCreditCardScanner()),
    );
  }
}
15
likes
130
points
456
downloads

Publisher

verified publishersudumtech.com

Weekly Downloads

A Flutter package that utilizes the device camera to scan and extract credit card information. by using Google ML for Android and Apple Vision for iOS.

Repository (GitHub)

Documentation

API reference

License

MIT (license)

Dependencies

apple_vision_commons, apple_vision_recognize_text, camera, credit_card_validator, flutter, google_mlkit_text_recognition

More

Packages that depend on flutter_credit_card_scanner