From 9c93c4d169897f8af99a3c92e3127fad9f04d764 Mon Sep 17 00:00:00 2001 From: SakshiRathod13 Date: Fri, 19 May 2023 23:35:13 +0530 Subject: [PATCH] modified --- example/lib/main.dart | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/example/lib/main.dart b/example/lib/main.dart index ad0fc83..1adf4a6 100644 --- a/example/lib/main.dart +++ b/example/lib/main.dart @@ -34,14 +34,14 @@ class _MyAppState extends State { Widget build(BuildContext context) { return MaterialApp( home: Scaffold( - backgroundColor: Colors.grey[300], + backgroundColor: Colors.red, body: Builder( builder: (BuildContext context) { return ListView( children: [ _qrCodeWidget(this.bytes, context), Container( - color: Colors.white, + color: Colors.blue, child: Column( children: [ TextField( @@ -295,7 +295,8 @@ class _MyAppState extends State { } Future _scanBytes() async { - File file = await ImagePicker().getImage(source: ImageSource.camera).then((picked) { + File file = + await ImagePicker().getImage(source: ImageSource.camera).then((picked) { if (picked == null) return null; return File(picked.path); });