title: How to convert CameraController's XFile to Image type in Flutter?
body: <p>Flutter's <code>CameraController</code> has a <code>takePicture()</code> method for taking picture from the camera which gives type of <code>Future&lt;XFile&gt;</code>, so I need to convert it to <code>Image</code> type from <code>package:image/image.dart</code> package to manually crop it with another method.</p>
  <p>How to convert it?</p>