pretty_qr_code 2.0.3 copy "pretty_qr_code: ^2.0.3" to clipboard
pretty_qr_code: ^2.0.3 copied to clipboard

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

example/lib/main.dart

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

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

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      home: MyHomePage(),
    );
  }
}

class MyHomePage extends StatefulWidget {
  @override
  _MyHomePageState createState() => _MyHomePageState();
}

class _MyHomePageState extends State<MyHomePage> {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      body: Center(
        child: PrettyQr(
          image: AssetImage('images/twitter.png'),
          size: 300,
          data: 'https://www.google.ru',
          errorCorrectLevel: QrErrorCorrectLevel.M,
          typeNumber: null,
          roundEdges: true,
        ),
      ),
    );
  }
}
451
likes
140
points
47.5k
downloads

Publisher

unverified uploader

Weekly Downloads

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

Repository (GitHub)

Documentation

API reference

License

unknown (license)

Dependencies

flutter, qr

More

Packages that depend on pretty_qr_code