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

25 lines
689 B
Dart
Raw Normal View History

import 'package:flutter/material.dart';
import 'package:flutter/src/widgets/placeholder.dart';
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),
),
);
}
2023-10-06 12:19:06 +00:00
}