A new Flutter project.


  1. Document scan with custom crop feature

Getting Started

This project is a starting point for a Flutter plug-in package, a specialized package that includes platform-specific implementation code for Android and/or iOS.

For help getting started with Flutter development, view the online documentation, which offers tutorials, samples, guidance on mobile development, and a full API reference.

for use you can implement to method

import 'package:documentscannerchromepay/document_scanner_flutter.dart';

var documentimage;

void scandoc(BuildContext context)async{
  try {
    var image = await DocumentScannerChromepay.cropImageDoc(context);
    // var image = await DocumentScannerChromepay.cropImageDoc2(context);
    // var image = await DocumentScannerChromepay.cropImageDoc3(context);
      setState(() {
        documentimage = image;
  } on PlatformException {
    // 'Failed to get document path or operation cancelled!';