opti_scan_barcode 0.0.7 opti_scan_barcode: ^0.0.7 copied to clipboard
Sample flutter plugin
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add opti_scan_barcode
With Flutter:
$ flutter pub add opti_scan_barcode
This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get
):
dependencies:
opti_scan_barcode: ^0.0.7
Alternatively, your editor might support dart pub get
or flutter pub get
. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:opti_scan_barcode/android_view.dart';
import 'package:opti_scan_barcode/custom_text_plugin_flutter.dart';
import 'package:opti_scan_barcode/custom_text_plugin_flutter_method_channel.dart';
import 'package:opti_scan_barcode/custom_text_plugin_flutter_platform_interface.dart';