qr
dependency (from ^2.0.0
to ^3.0.0
).QrImage
to QrImageView
emptyColor
rendering.QrVersions.auto
and let the library pick the appropriate version for you.QrImage.onError
has been removed. It was horribly broken so we decided to not deprecate it and just remove it totally.QrImage.errorStateBuilder
introduced to allow you to display an in-line Widget
when an error (such as data too long) occurs. By default the error state Widget
will be constrained to the QRImage
bounds (aka a Square) but you can use the constrainErrorBounds
property to prevent that.gapless
option is now true
by default.Key
values to QrImage
widgets.qr.dart
dependency.qr.dart
is now exported so you don't need a second import
.test/painter_tests.dart
for an example)