flutter_pda_scanner_v2 0.0.1 copy "flutter_pda_scanner_v2: ^0.0.1" to clipboard
flutter_pda_scanner_v2: ^0.0.1 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.

Installation #

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

dependencies:
  flutter_pda_scanner_v2: ^0.0.1

Supported Device Models #

  • ✅ SEUIC(ć°ç ć“„)-PDA
  • ✅ IData(ç›ˆèŸŸèšćŠ›)-PDA
  • ✅ UROVO(äŒ˜ćšèźŻ)-PDA
  • ✅ HONEYWELL(éœć°ŒéŸŠć°”)-PDA
  • ✅ PL(æ”€ć‡Œ)-PDA
  • ✅ NEWLAND(æ–°ć€§é™†)-PDA
  • ✅ KAICOM(懯立)-PDA

Usage #

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

///
class RootApp extends ConsumerStatefulWidget {
  const RootApp({super.key});

  @override
  ConsumerState<ConsumerStatefulWidget> createState() => _RootAppState();
}

class _RootAppState extends State<RootApp> with PdaLifecycleMixin<RootApp> {
  @override
  Widget build(BuildContext context) {
    // Return rest of your code such as MaterialApp, Scaffold, your root widget and etc.
  }
}

/// Import package of `pda_listener_mixin.dart`
import 'package:flutter_pda_scanner_v2/pda_listener_mixin.dart';
class ScreenExampleState extends State<ScreenExample> with PdaListenerMixin<ScreenExample> {
  var _code;

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

  @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.

About #

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

Currently this repo is maintained by Michael Chiew to include support for Android V2 Embedding.

1
likes
0
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

License

unknown (license)

Dependencies

flutter, plugin_platform_interface

More

Packages that depend on flutter_pda_scanner_v2

Packages that implement flutter_pda_scanner_v2