2
0
mirror of https://github.com/inventree/inventree-app.git synced 2025-04-28 13:36:50 +00:00

Fix barcode widget to prevent flutter widget error

This commit is contained in:
Oliver Walters 2021-02-25 17:38:41 +11:00
parent 90df4c6135
commit feaafe068d

View File

@ -436,8 +436,9 @@ class _QRViewState extends State<InvenTreeQRView> {
return Scaffold( return Scaffold(
body: Stack( body: Stack(
children: <Widget>[ children: <Widget>[
Column(
children: [
Expanded( Expanded(
flex: 4,
child: QRView( child: QRView(
key: qrKey, key: qrKey,
onQRViewCreated: _onViewCreated, onQRViewCreated: _onViewCreated,
@ -449,6 +450,8 @@ class _QRViewState extends State<InvenTreeQRView> {
cutOutSize: 300, cutOutSize: 300,
), ),
) )
)
]
), ),
Center( Center(
child: Column( child: Column(