capturesdk_flutter 1.3.1 capturesdk_flutter: ^1.3.1 copied to clipboard
The official Flutter CaptureSDK by Socket Mobile. It supports all current Socket Mobile’s barcode and NFC Reader scanning solutions.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add capturesdk_flutter
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
capturesdk_flutter: ^1.3.1
Alternatively, your editor might support flutter pub get
. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:capturesdk_flutter/capturesdk.dart';
import 'package:capturesdk_flutter/classes/app_info.dart';
import 'package:capturesdk_flutter/classes/capture.dart';
import 'package:capturesdk_flutter/classes/capture_event.dart';
import 'package:capturesdk_flutter/classes/capture_event_result.dart';
import 'package:capturesdk_flutter/classes/capture_events.dart';
import 'package:capturesdk_flutter/classes/capture_exception.dart';
import 'package:capturesdk_flutter/classes/capture_notification.dart';
import 'package:capturesdk_flutter/classes/capture_options.dart';
import 'package:capturesdk_flutter/classes/capture_property.dart';
import 'package:capturesdk_flutter/classes/capture_version.dart';
import 'package:capturesdk_flutter/classes/datasource.dart';
import 'package:capturesdk_flutter/classes/decoded_data.dart';
import 'package:capturesdk_flutter/classes/device_info.dart';
import 'package:capturesdk_flutter/classes/gen/data_sources.dart';
import 'package:capturesdk_flutter/classes/gen/device_types.dart';
import 'package:capturesdk_flutter/classes/gen/errors.dart';
import 'package:capturesdk_flutter/classes/gen/event_ids.dart';
import 'package:capturesdk_flutter/classes/gen/property_ids.dart';
import 'package:capturesdk_flutter/classes/gen/property_values.dart';
import 'package:capturesdk_flutter/classes/http_transport.dart';
import 'package:capturesdk_flutter/classes/ios_transport.dart';
import 'package:capturesdk_flutter/classes/ios_transport_adaptor.dart';
import 'package:capturesdk_flutter/classes/ios_transport_notification.dart';
import 'package:capturesdk_flutter/classes/jrpc.dart';
import 'package:capturesdk_flutter/classes/jrpc_event.dart';
import 'package:capturesdk_flutter/classes/jrpc_request.dart';
import 'package:capturesdk_flutter/classes/jrpc_response.dart';
import 'package:capturesdk_flutter/classes/logger.dart';
import 'package:capturesdk_flutter/classes/params.dart';
import 'package:capturesdk_flutter/classes/property_ids_types.dart';
import 'package:capturesdk_flutter/classes/shared_methods.dart';
import 'package:capturesdk_flutter/classes/transport.dart';