qr_flutter_plus 1.0.1 copy "qr_flutter_plus: ^1.0.1" to clipboard
qr_flutter_plus: ^1.0.1 copied to clipboard

QR Flutter Plus — a modern, maintained fork for fast QR code rendering via Widget or CustomPainter. Built on qr.dart with gradient, styled eyes/modules, and embedded image support. No internet required.

example/lib/main.dart

/*
 * QR Flutter Plus — https://github.com/jinosh05/qr_flutter_plus — Example App
 * Liquid Glass design system — Background #0F172A • Gold #F59E0B • Purple #8B5CF6
 * Typography: Inter • Pattern: App Store Style Landing
 * Based on QR.Flutter by the Yakka — https://github.com/theyakka/qr.flutter (inspiration)
 */

import 'package:flutter/material.dart';
import 'package:flutter/services.dart';
import 'package:google_fonts/google_fonts.dart';

import 'main_screen.dart';

void main() {
  WidgetsFlutterBinding.ensureInitialized();
  SystemChrome.setSystemUIOverlayStyle(
    const SystemUiOverlayStyle(
      statusBarColor: Colors.transparent,
      statusBarIconBrightness: Brightness.light,
      systemNavigationBarColor: Color(0xFF0F172A),
      systemNavigationBarIconBrightness: Brightness.light,
    ),
  );
  runApp(const ExampleApp());
}

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

  // Design tokens — ui-ux-pro-max
  static const _bg = Color(0xFF0F172A);
  static const _gold = Color(0xFFF59E0B);
  static const _purple = Color(0xFF8B5CF6);
  static const _surface = Color(0xFF1E293B);

  @override
  Widget build(BuildContext context) {
    final baseLight = ThemeData(
      useMaterial3: true,
      brightness: Brightness.dark,
      scaffoldBackgroundColor: _bg,
      colorScheme: const ColorScheme.dark(
        primary: _gold,
        secondary: _purple,
        surface: _surface,
        onPrimary: _bg,
        onSecondary: Colors.white,
        onSurface: Color(0xFFF8FAFC),
      ),
      textTheme: GoogleFonts.interTextTheme(
        ThemeData.dark().textTheme.copyWith(
              displayLarge: GoogleFonts.inter(
                  fontSize: 32, fontWeight: FontWeight.w800, letterSpacing: -0.8, color: const Color(0xFFF8FAFC)),
              titleLarge: GoogleFonts.inter(
                  fontSize: 20, fontWeight: FontWeight.w700, color: const Color(0xFFF8FAFC)),
              bodyLarge: GoogleFonts.inter(
                  fontSize: 14, fontWeight: FontWeight.w400, color: const Color(0xFFE2E8F0)),
              labelLarge: GoogleFonts.inter(
                  fontSize: 13, fontWeight: FontWeight.w600, letterSpacing: 0.3),
            ),
      ),
      appBarTheme: const AppBarTheme(
        backgroundColor: Colors.transparent,
        elevation: 0,
        scrolledUnderElevation: 0,
        centerTitle: false,
      ),
    );

    return MaterialApp(
      title: 'QR Flutter Plus',
      debugShowCheckedModeBanner: false,
      theme: baseLight,
      darkTheme: baseLight,
      themeMode: ThemeMode.dark,
      home: const MainScreen(),
    );
  }
}
1
likes
150
points
197
downloads

Documentation

Documentation
API reference

Publisher

unverified uploader

Weekly Downloads

QR Flutter Plus — a modern, maintained fork for fast QR code rendering via Widget or CustomPainter. Built on qr.dart with gradient, styled eyes/modules, and embedded image support. No internet required.

Repository (GitHub)
View/report issues

Funding

Consider supporting this project:

razorpay.me

License

BSD-3-Clause (license)

Dependencies

flutter, qr

More

Packages that depend on qr_flutter_plus