title: How to convert image to pdf using flutter?
body: <p>I have implemented a app to capture images using camera and display captured image in new page as a Image but I want to display the captured Image(ex:document) as Pdf file(editable). </p>
  
  <p>So how can I convert my image(ex:document) as a pdf file ?</p>
  
  <pre><code>class DisplayPictureScreen extends StatelessWidget {
    final String imagePath;
    const DisplayPictureScreen({Key key, this.imagePath}) : super(key: key);
  
    @override
    Widget build(BuildContext context) {
      return Scaffold(
        appBar: AppBar(title: Text('Display the Picture')),
        body: Image.file(File(imagePath)),
      );
    }
  }
  </code></pre>