barcode_widget 2.0.0-nullsafety copy "barcode_widget: ^2.0.0-nullsafety" to clipboard
barcode_widget: ^2.0.0-nullsafety copied to clipboard

outdated

Barcode generation widget for Flutter with support for standard barcodes.

example/lib/main.dart

import 'package:flutter/material.dart';
import 'package:barcode_widget/barcode_widget.dart';

// ignore_for_file: public_member_api_docs

void main() => runApp(MyApp());

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      home: MyHomePage(),
    );
  }
}

class MyHomePage extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: const Text('Barcode demo'),
      ),
      body: Center(
        child: BarcodeWidget(
          barcode: Barcode.aztec(), // Barcode type and settings
          data: 'https://pub.dev/packages/barcode_widget', // Content
          width: 200,
          height: 200,
        ),
      ),
    );
  }
}
315
likes
0
pub points
99%
popularity

Publisher

verified publishernfet.net

Barcode generation widget for Flutter with support for standard barcodes.

Homepage
Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

barcode, flutter

More

Packages that depend on barcode_widget