flutter_pda_scanner_v2 0.0.8 copy "flutter_pda_scanner_v2: ^0.0.8" to clipboard
flutter_pda_scanner_v2: ^0.0.8 copied to clipboard

Flutter plugin that supports wide range of PDA handheld scanner devices.

Flutter PDA Scanner V2 #

License

Flutter plugin that supports wide range of ๐Ÿ“ฑ PDA handheld scanner devices.

flutter_pda_scanner_v2.gif

About #

Originally fork and reference via pda_scanner and flutter_pda_scanner by Shusheng or the original creator.

Currently this repo is maintained by me to include the support for Android V2 Embedding and fixing some other Honeywell PDA devices.

Installation #

Add this to your package's pubspec.yaml file:

dependencies:
  flutter_pda_scanner_v2: ^0.0.7

Supported Device Models #

  • โœ… SEUIC(ๅฐ็ ๅ“ฅ)-PDA
  • โœ… IData(็›ˆ่พพ่šๅŠ›)-PDA
  • โœ… UROVO(ไผ˜ๅš่ฎฏ)-PDA
  • โœ… HONEYWELL(้œๅฐผ้Ÿฆๅฐ”)-PDA
  • โœ… PL(ๆ”€ๅ‡Œ)-PDA
  • โœ… NEWLAND(ๆ–ฐๅคง้™†)-PDA
  • โœ… KAICOM(ๅ‡ฏ็ซ‹)-PDA
  • โœ… HIKVISION(ๆตทๅบท)-PDA

Usage #

In your main.dart file, add the following code:

/// Import package of `flutter_pda_scanner_v2.dart`
import 'package:flutter_pda_scanner_v2/flutter_pda_scanner_v2.dart';

void main() async {
  WidgetsFlutterBinding.ensureInitialized();
  // Initialize the PdaScanner.
  await PdaScanner.instance.initialize();
  runApp(const MyApp());
}

Then in your widget or screen state file, add the following code:

/// Import package of `flutter_pda_scanner_v2.dart`
import 'package:flutter_pda_scanner_v2/flutter_pda_scanner_v2.dart';

class ScreenExampleState extends State<ScreenExample> with PdaListenerMixin<ScreenExample> {
  var _code;

  @override
  Widget build(BuildContext context) {
    return null;
    // Or return your own widget.
  }

  // Add these @override methods to listen to scanner events.
  @override
  void onEvent(Object event) {
      // Process the value of the `event.toString()` here.
  }
  
    @override
  void onError(Object error) {
      // Process the value of the `error.toString()` here such as show toast or dialog.
  }
}

License #

Distributed under the MIT license. See LICENSE for more information.

1
likes
160
points
28
downloads

Publisher

verified publishermichaelchiew.dev

Weekly Downloads

Flutter plugin that supports wide range of PDA handheld scanner devices.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

flutter, plugin_platform_interface

More

Packages that depend on flutter_pda_scanner_v2

Packages that implement flutter_pda_scanner_v2