barcode_widget
2.0.4, released 4 years ago by nfet.net
Barcode generation widget for Flutter
What it does
Provides a Flutter widget to generate and render standard barcodes directly in the UI. Supports customizing layout options like width, height, colors, margins, and padding, as well as handling validation errors.
AI-written summary of version 2.0.4, based on the package's README and metadata. Report an inaccuracy
Use it when
- You need to display standard barcodes or QR codes in your Flutter UI
- You want customizable barcode widgets with error handling and layout options
Skip it when
- You need to scan barcodes using the device camera
Strengths
- Easy to use as a standard Flutter widget
- Supports multiple standard barcode types and layouts
- Includes error handling and custom error builders
Weaknesses
- Not documented for scanning barcodes
Setup
- Kind
- Flutter widgets
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 1
not documented
BarcodeWidget(
barcode: Barcode.code128(),
data: 'Hello Flutter',
)Alternatives
Packages that do the same job and could replace barcode_widget.
- syncfusion_flutter_barcodes
A Flutter barcode generator library for 1D and 2D machine-readable barcodes.
88Compare - capp
A Dart package for building interactive console applications with widgets, input handling, and progress indicators.
76Compare - expansion_tile_group
Advanced and customizable expansion tile widgets and groups for Flutter.
57Compare - expansion_tile_card
Drop-in replacement for ExpansionTile with a Material Theme raised card look.
50Compare
Works with
Packages commonly used together with barcode_widget: ones it builds on, ones built on it, and its own family.
- barcodebarcode_widget depends on itBarcode generation library for Dart that can generate generic drawing operations for any backend.
- pdfSame familyA PDF generation library for Dart and Flutter using a widget-like layout system.
- barcode_imageSame familyGenerates barcodes as image files using the Dart image library.