pda_scanner 0.2.1 copy "pda_scanner: ^0.2.1" to clipboard
pda_scanner: ^0.2.1 copied to clipboard

outdated

This is a scanning plug-in for PDA to listen the scanned events and get scanning results.

example/lib/main.dart

import 'package:flutter/material.dart';

import 'package:pda_scanner/pda_source.dart';

import 'page_alpha.dart';

void main() => runApp(MyApp());

class MyApp extends StatefulWidget {
  @override
  _MyAppState createState() => _MyAppState();
}

class _MyAppState extends State<MyApp> {
  @override
  void initState() {
    super.initState();
    /// You need to initialize it as necessary, when the program starts for the first time.
    PdaSource.init();
  }

  @override
  void dispose() {
    super.dispose();
    /// You need to call this method to release resources when you exit the entire application.
    PdaSource.uninstall();
  }

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      home: PageAlpha(),
    );
  }
}
9
likes
0
pub points
48%
popularity

Publisher

unverified uploader

This is a scanning plug-in for PDA to listen the scanned events and get scanning results.

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

flutter

More

Packages that depend on pda_scanner