title: Rename a file or image in Flutter
body: <p>I am picking an image from gallery/taking a photo using the <em><strong>image_picker: ^0.6.2+3</strong></em> package.</p>
  <pre><code>File picture = await ImagePicker.pickImage(
    maxWidth: 800,
    imageQuality: 10,
    source: source, // source can be either ImageSource.camera or ImageSource.gallery
    maxHeight: 800,
  );
  </code></pre>
  <p>And I get <strong>picture.path</strong> as</p>
  <p><strong>/Users/[<em>some path</em>]/tmp/image_picker_A0EBD0C1-EF3B-417F-9F8A-5DFBA889118C-18492-00001AD95CF914D3.jpg</strong></p>
  <p>Now I want to rename the image to <strong>case01wd03id01.jpg</strong>.</p>
  <p><em>Note</em>: I don't want to move it to new folder</p>
  <p>How can I rename it? I could not find it in the official documentation.</p>