Skip to main content

scandit_flutter_datacapture_parser 8.7.0-beta.1 copy "scandit_flutter_datacapture_parser: ^8.7.0-beta.1" to clipboard
scandit_flutter_datacapture_parser: ^8.7.0-beta.1 copied to clipboard

This plugin implements the parsing capabilities of the Scandit Data Capture SDK.

example/lib/main.dart

import 'package:material_ui/material_ui.dart';
import 'dart:async';

void main() {
  runApp(const MyApp());
}

class MyApp extends StatefulWidget {
  const MyApp({super.key});

  @override
  MyAppState createState() => MyAppState();
}

class MyAppState extends State<MyApp> {
  String _platformVersion = 'Unknown';

  @override
  void initState() {
    super.initState();
    initPlatformState();
  }

  // Platform messages are asynchronous, so we initialize in an async method.
  Future<void> initPlatformState() async {
    String platformVersion;
    // Platform messages may fail, so we use a try/catch PlatformException.
    // We also handle the message potentially returning null.
    platformVersion = 'Will be replaced soon.';

    // If the widget was removed from the tree while the asynchronous platform
    // message was in flight, we want to discard the reply rather than calling
    // setState to update our non-existent appearance.
    if (!mounted) return;

    setState(() {
      _platformVersion = platformVersion;
    });
  }

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      home: Scaffold(
        appBar: AppBar(
          title: const Text('Plugin example app'),
        ),
        body: Center(
          child: Text('Running on: $_platformVersion\n'),
        ),
      ),
    );
  }
}
1
likes
0
points
3.35k
downloads

Publisher

verified publisherscandit.com

Weekly Downloads

This plugin implements the parsing capabilities of the Scandit Data Capture SDK.

Homepage

License

unknown (license)

Dependencies

flutter, meta, scandit_flutter_datacapture_core

More

Packages that depend on scandit_flutter_datacapture_parser

Packages that implement scandit_flutter_datacapture_parser