syncfusion_flutter_barcodes 18.1.59-beta syncfusion_flutter_barcodes: ^18.1.59-beta copied to clipboard
Syncfusion Flutter barcodes widget 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';
import 'package:syncfusion_flutter_core/core.dart';
void main() {
// Register your license here
SyncfusionLicense.registerLicense(null);
return runApp(MyApp());
}
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,
),
))),
);
}
}