easy_card_scanner 1.1.0 copy "easy_card_scanner: ^1.1.0" to clipboard
easy_card_scanner: ^1.1.0 copied to clipboard

Easy Credit Card Scanner

example/lib/main.dart

import 'package:flutter/material.dart';
import 'package:easy_card_scanner/credit_card_scanner.dart';

void main() {
  runApp(const MyApp());
}

class MyApp extends StatefulWidget {
  const MyApp({Key? key}) : super(key: key);

  @override
  State<MyApp> createState() => _MyAppState();
}

class _MyAppState extends State<MyApp> {


  @override
  void initState() {
    super.initState();

  }


  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      home: Scaffold(
        floatingActionButton: FloatingActionButton(
            child: const Icon(Icons.camera_alt),
            onPressed: () async {
          await CardScanner.scanCard();

        }),
        appBar: AppBar(
          title: const Text('Easy Card Scanner'),
        ),
      ),
    );
  }
}
5
likes
130
points
32
downloads

Publisher

verified publisherdevhammad.com

Weekly Downloads

Easy Credit Card Scanner

Repository (GitHub)
View/report issues

Documentation

API reference

License

GPL-3.0 (license)

Dependencies

flutter

More

Packages that depend on easy_card_scanner