capturesdk_flutter 1.5.0 capturesdk_flutter: ^1.5.0 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.5.0
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/app_info.freezed.dart';
import 'package:capturesdk_flutter/classes/app_info.g.dart';
import 'package:capturesdk_flutter/classes/capture.dart';
import 'package:capturesdk_flutter/classes/capture_event.dart';
import 'package:capturesdk_flutter/classes/capture_event.freezed.dart';
import 'package:capturesdk_flutter/classes/capture_event.g.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_plugin.dart';
import 'package:capturesdk_flutter/classes/capture_property.dart';
import 'package:capturesdk_flutter/classes/capture_property.freezed.dart';
import 'package:capturesdk_flutter/classes/capture_property.g.dart';
import 'package:capturesdk_flutter/classes/capture_result.dart';
import 'package:capturesdk_flutter/classes/capture_result.freezed.dart';
import 'package:capturesdk_flutter/classes/capture_result.g.dart';
import 'package:capturesdk_flutter/classes/capture_version.dart';
import 'package:capturesdk_flutter/classes/datasource.dart';
import 'package:capturesdk_flutter/classes/datasource.freezed.dart';
import 'package:capturesdk_flutter/classes/datasource.g.dart';
import 'package:capturesdk_flutter/classes/decoded_data.dart';
import 'package:capturesdk_flutter/classes/decoded_data.freezed.dart';
import 'package:capturesdk_flutter/classes/decoded_data.g.dart';
import 'package:capturesdk_flutter/classes/device_info.dart';
import 'package:capturesdk_flutter/classes/device_info.freezed.dart';
import 'package:capturesdk_flutter/classes/device_info.g.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/id_converter.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_error.dart';
import 'package:capturesdk_flutter/classes/jrpc_error.freezed.dart';
import 'package:capturesdk_flutter/classes/jrpc_error.g.dart';
import 'package:capturesdk_flutter/classes/jrpc_request.dart';
import 'package:capturesdk_flutter/classes/jrpc_request.freezed.dart';
import 'package:capturesdk_flutter/classes/jrpc_request.g.dart';
import 'package:capturesdk_flutter/classes/jrpc_response.dart';
import 'package:capturesdk_flutter/classes/jrpc_response.freezed.dart';
import 'package:capturesdk_flutter/classes/jrpc_response.g.dart';
import 'package:capturesdk_flutter/classes/logger.dart';
import 'package:capturesdk_flutter/classes/params.dart';
import 'package:capturesdk_flutter/classes/params.freezed.dart';
import 'package:capturesdk_flutter/classes/params.g.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';