barcode_widget

Barcode Widget for flutter.

Buy Me A Coffee

This widget uses pub:barcode to generate any supported Barcodes.

Barcode Demo

Live example with Flutter Web

davbfr.github.io/dart_barcode/

Getting Started

In your flutter project add the dependency:

dependencies:
  ...
  barcode_widget:

For help getting started with Flutter, view the online documentation.

Usage example

Import barcode_widget.dart

import 'package:barcode_widget/barcode_widget.dart';

Use the widget directly

BarcodeWidget(
  barcode: Barcode.code128(),
  data: 'Hello Flutter',
);

Many layout options are available like: width, height, margin, padding, colors, etc.

Libraries

barcode_widget