title: How can I read a QR Code from a image in flutter using a package?
body: <p>I am building an app using flutter where I want to scan an image(that includes QR image). I am using packages available to read QR codes, but not working for me. Is there any package/solution to read a QR code from an image?</p>
  
  <p>I Tried package:</p>
  
  <p>qr_code_tools: ^0.0.6`</p>
  
  <pre><code>Future _getPhotoByGallery() async {
       var image = await ImagePicker.pickImage(source: ImageSource.gallery);
   String path = image.path;
   decode(path); 
  }
  
  
  Future decode(String path) async {
    print(path);
    String data = await QrCodeToolsPlugin.decodeFrom(path);
    setState(() {
      _data = data;
    });
  }
  </code></pre>
  
  <p>I expect the output of QRCode from the selected image of Gallery.</p>
  
  <p>But getting error "Null".</p>