Skip to main content

flocon_qr_scanner 2.0.1 copy "flocon_qr_scanner: ^2.0.1" to clipboard
flocon_qr_scanner: ^2.0.1 copied to clipboard

Connects your app to the Flocon desktop by scanning its QR code.

example/main.dart

import 'package:flocon/flocon.dart';
import 'package:flocon_qr_scanner/flocon_qr_scanner.dart';
import 'package:flutter/foundation.dart';
import 'package:flutter/material.dart';

Future<void> main() async {
  WidgetsFlutterBinding.ensureInitialized();
  if (kDebugMode) await startFlocon((flocon) => flocon..install(const FloconNetwork()));
  runApp(MaterialApp(
    home: Scaffold(
      body: FloconQrScannerView(
        onResult: (result) => debugPrint('Flocon: $result'),
      ),
    ),
  ));
}
0
likes
160
points
162
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Connects your app to the Flocon desktop by scanning its QR code.

Repository (GitHub)
View/report issues

Topics

#debugging #devtools #qr-code #flocon

License

MIT (license)

Dependencies

flocon, flutter, mobile_scanner

More

Packages that depend on flocon_qr_scanner