test_scan_barcode 1.0.0
test_scan_barcode: ^1.0.0 copied to clipboard
Sample flutter plugin
example/lib/main.dart
import 'package:flutter/material.dart';
void main() {
runApp(const MyApp());
}
class MyApp extends StatefulWidget {
const MyApp({Key? key}) : super(key: key);
@override
State<MyApp> createState() => _MyAppState();
}
class _MyAppState extends State<MyApp> {
String? licenseKey;
@override
void initState() {
super.initState();
}
// Platform messages are asynchronous, so we initialize in an async method.
@override
Widget build(BuildContext context) {
return const MaterialApp(
home: Scaffold(body: Center()),
);
}
}