From 2d005ba86b9e081e943832ecc7ef16178e3d2ac4 Mon Sep 17 00:00:00 2001 From: Oliver Walters Date: Mon, 9 Aug 2021 23:59:53 +1000 Subject: [PATCH] Adds app bar with back button to barcode scanning widget --- lib/barcode.dart | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/barcode.dart b/lib/barcode.dart index 3fb7bf96..0e305c6f 100644 --- a/lib/barcode.dart +++ b/lib/barcode.dart @@ -514,6 +514,9 @@ class _QRViewState extends State { Widget build(BuildContext context) { return Scaffold( + appBar: AppBar( + title: Text(_handler.getOverlayText(context)), + ), body: Stack( children: [ Column(