qrlink_flux

qrlink_flux is a Flutter package that generates dynamic QR codes from any file URL (image, video, PDF, ZIP, etc.). You can enable auto-refresh to update the QR code periodically with new tokens.

๐Ÿš€ Features

  • โœ… Works with any file type (image, video, PDF, ZIP)
  • ๐Ÿ” Optional auto-refresh every N seconds
  • ๐Ÿงฉ Adds timestamp + random key for uniqueness
  • ๐Ÿ“ฆ Easy Flutter widget integration

๐Ÿงช Example

import 'package:flutter/material.dart';
import 'package:qrlink_flux/qrlink_flux.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('QR Link Flux Example')),
        body: const Center(
          child: QrLinkFlux(
            fileUrl: 'https://example.com/video.mp4',
            autoChange: true,
            intervalSeconds: 10,
            size: 250,
          ),
        ),
      ),
    );
  }
}

Libraries