pretty_qr_code 2.0.2
pretty_qr_code: ^2.0.2 copied to clipboard

Pretty QR code for Flutter. You can round the edges with parameter or use the standard view.

pretty_qr_code #

Pretty QR code for Flutter. You can round the edges with parameter or use the standard view.

Features #

Screenshots #

Example #

import 'package:flutter/material.dart';
import 'package:pretty_qr_code/pretty_qr_code.dart';
import 'package:qr/qr.dart';

void main() => runApp(MyApp());

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      home: Scaffold(
        body: Center(
          child: PrettyQr(
            image: AssetImage('images/twitter.png'),
            typeNumber: 3,
            size: 200,
            data: 'https://www.google.ru',
            errorCorrectLevel: QrErrorCorrectLevel.M,
            roundEdges: true,
          ),
        ),
      ),
    );
  }
}

typeNumber is null by default. It means that it will be automatically chosen based on data length

Getting Started #

This project is a starting point for a Dart package, a library module containing code that can be shared easily across multiple Flutter or Dart projects.

For help getting started with Flutter, view our online documentation, which offers tutorials, samples, guidance on mobile development, and a full API reference.

79
likes
120
pub points
91%
popularity

Pretty QR code for Flutter. You can round the edges with parameter or use the standard view.

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (LICENSE)

Dependencies

flutter, qr

More

Packages that depend on pretty_qr_code