qr_widget
4.1.0, released 4 years ago by semkin.ru
Flutter widget for rendering QR codes with optional image overlay.
What it does
Provides a fast, null‑safe widget and custom painter to generate QR codes directly in Flutter. Supports configurable size, colors, error correction, and embedded images without requiring network access.
AI-written summary of version 4.1.0, based on the package's README and metadata. Report an inaccuracy
Use it when
- You need to display QR codes in a Flutter UI
- You want customizable QR appearance or embed a logo/image
Skip it when
- You need to scan QR codes (use a camera package)
- You require server‑side QR generation or advanced encoding features
Strengths
- Fast, pure‑Dart rendering
- Works on all Flutter platforms
- Highly customizable (size, colors, eye style, embedded image)
- No external dependencies beyond qr package
Weaknesses
- Only renders QR codes, no scanning capability
- Limited to features provided by the underlying qr.dart library
- No built‑in caching or image export beyond raw data
Setup
- Kind
- Flutter widgets
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 1
import 'package:qr_widget/qr_widget.dart';
QrImageView(
data: 'https://example.com',
version: QrVersions.auto,
size: 200.0,
);Alternatives
Packages that do the same job and could replace qr_widget.
- qr_flutter
Flutter widget for rendering QR codes with customizable size, colors, and optional embedded images.
50Compare - code_editor
A Flutter code editor widget with syntax highlighting, custom themes, and file navigation.
82Compare - re_editor
A lightweight text and code editor widget for Flutter with syntax highlighting and folding.
80Compare - vtable
A Flutter table widget with virtualization, sorting, and custom cell rendering.
48Compare
Works with
Packages commonly used together with qr_widget: ones it builds on, ones built on it, and its own family.