fix QR image preview
parent
5a17258c82
commit
e445c255d9
|
@ -31,6 +31,7 @@ migrate_working_dir/
|
|||
.pub-cache/
|
||||
.pub/
|
||||
/build/
|
||||
pubspeck.lock
|
||||
|
||||
# Symbolication related
|
||||
app.*.symbols
|
||||
|
|
|
@ -181,7 +181,7 @@ class BuildInformation extends StatelessWidget {
|
|||
return QRFullScreenImage(uuid: uuid);
|
||||
}));
|
||||
},
|
||||
child: QrImage(
|
||||
child: QrImageView(
|
||||
data: uuid!,
|
||||
size: blockSizeVertical * 24,
|
||||
),
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
import 'package:flutter/material.dart';
|
||||
import 'package:flutter/src/widgets/framework.dart';
|
||||
import 'package:flutter/src/widgets/placeholder.dart';
|
||||
import 'package:qr_flutter/qr_flutter.dart';
|
||||
import 'package:unit2/theme-data.dart/colors.dart';
|
||||
|
@ -16,7 +15,7 @@ class QRFullScreenImage extends StatelessWidget {
|
|||
centerTitle: true,
|
||||
backgroundColor: primary,title: const Text("Profile QR Code"),),
|
||||
body: Center(
|
||||
child: QrImage(
|
||||
child: QrImageView(
|
||||
data: uuid,
|
||||
size: blockSizeVertical * 50
|
||||
),
|
||||
|
|
Loading…
Reference in New Issue