opti_scan_barcode 0.0.5 opti_scan_barcode: ^0.0.5 copied to clipboard
Sample flutter plugin
import 'package:flutter/material.dart';
import 'package:sample_plugin_flutter_example/android_view.dart';
void main() {
runApp(const MyApp());
}
class MyApp extends StatefulWidget {
const MyApp(/*{super.key}*/);
@override
State<MyApp> createState() => _MyAppState();
}
class _MyAppState extends State<MyApp> {
@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: AndroidViewExample(),
),
);
}
}