flutter_twain_scanner 0.1.0 copy "flutter_twain_scanner: ^0.1.0" to clipboard
flutter_twain_scanner: ^0.1.0 copied to clipboard

A Flutter plugin for Windows desktop to scan documents from TWAIN compatible scanners.

flutter_twain_scanner #

A Flutter plugin for Windows desktop to scan documents from TWAIN compatible scanners. The C/C++ code is ported from https://github.com/twain/twain-samples.

Flutter windows TWAIN scanner

Usage #

  • Future<List<String>?> getDataSources(): Get the list of TWAIN compatible scanners.
    List<String>? scanners = await _flutterTwainScannerPlugin.getDataSources();
    
  • Future<String?> scanDocument(int sourceIndex): Scan documents from a selected scanner.
    int index = _scanners.indexOf(_selectedScanner!);
    String? documentPath = await _flutterTwainScannerPlugin.scanDocument(index);
    
8
likes
0
pub points
66%
popularity

Publisher

verified publisheryushulx.me

A Flutter plugin for Windows desktop to scan documents from TWAIN compatible scanners.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter, plugin_platform_interface

More

Packages that depend on flutter_twain_scanner