syncfusion_flutter_barcodes 28.1.33 syncfusion_flutter_barcodes: ^28.1.33 copied to clipboard
Flutter Barcodes generator library is used to generate and display data in the machine-readable, industry-standard 1D and 2D barcodes.
import 'package:flutter/material.dart';
import 'package:syncfusion_flutter_barcodes/barcodes.dart';
void main() {
return runApp(MyApp());
}
/// Creates the barcode generator
class MyApp extends StatelessWidget {
@override
Widget build(BuildContext context) {
return MaterialApp(
home: Scaffold(
appBar: AppBar(
title: const Text('Barcode Generator Demo'),
),
body: Center(
child: Container(
height: 200,
child: SfBarcodeGenerator(
value: 'www.syncfusion.com',
symbology: QRCode(),
showValue: true,
),
))),
);
}
}