fix QR image preview

feature/passo/PASSO-#1-Sync-data-from-device-to-postgre-and-vice-versa
PGAN-MIS 2023-10-09 10:58:07 +08:00
parent 5a17258c82
commit e445c255d9
3 changed files with 3 additions and 3 deletions

1
.gitignore vendored
View File

@ -31,6 +31,7 @@ migrate_working_dir/
.pub-cache/
.pub/
/build/
pubspeck.lock
# Symbolication related
app.*.symbols

View File

@ -181,7 +181,7 @@ class BuildInformation extends StatelessWidget {
return QRFullScreenImage(uuid: uuid);
}));
},
child: QrImage(
child: QrImageView(
data: uuid!,
size: blockSizeVertical * 24,
),

View File

@ -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
),