TomQRCode

A simple Flutter package to generate QR codes with alphanumeric and numeric support, including finder patterns (corner squares).
This package does not depend on any external QR library, everything is implemented in pure Dart/Flutter.

Features

  • Generate QR codes from alphanumeric or numeric strings
  • Finder patterns included for proper QR code recognition
  • Scalable and printable QR code widgets
  • Add a center icon or letter (e.g., "T") for branding
  • Pure Dart/Flutter implementation, no external dependencies

Installation

Add this to your pubspec.yaml:

dependencies:
  tomqrcode: ^0.0.3


## Usage

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

void main() {
  runApp(const MyApp());
}

class MyApp extends StatelessWidget {
  const MyApp({super.key});

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      home: Scaffold(
        appBar: AppBar(title: const Text("TomQRCode Demo")),
        body: Center(
          child: TomQrWidget(
            data: "HELLO WORLD",
            size: 200,
            centerText: "T", // optional
          ),
        ),
      ),
    );
  }
}

Libraries

tomqrcode