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

outdated

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';
import 'package:qr/qr.dart';

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

class MyApp extends StatelessWidget {
  // This widget is the root of your application.
  @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'),
                typeNumber: 3,
                size: 300,
                data: 'https://www.google.ru',
                errorCorrectLevel: QrErrorCorrectLevel.M,
                roundEdges: true)));
  }
}
451
likes
30
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)

License

unknown (license)

Dependencies

flutter, qr

More

Packages that depend on pretty_qr_code