passo_mobile_app/lib/screens/unit2/basic-info/components/qr_image.dart

28 lines
746 B
Dart

import 'package:flutter/material.dart';
<<<<<<< HEAD
=======
import 'package:flutter/src/widgets/placeholder.dart';
>>>>>>> develop
import 'package:qr_flutter/qr_flutter.dart';
import 'package:unit2/theme-data.dart/colors.dart';
import 'package:unit2/utils/global.dart';
class QRFullScreenImage extends StatelessWidget {
final String uuid;
const QRFullScreenImage({super.key, required this.uuid});
@override
Widget build(BuildContext context) {
return Scaffold(
appBar: AppBar(
centerTitle: true,
backgroundColor: primary,title: const Text("Profile QR Code"),),
body: Center(
child: QrImageView(
data: uuid,
size: blockSizeVertical * 50
),
),);
}
}