title: I use image_picker record video, But I want to limit the time of the video
body: <p>I developed video recording using image_picker.
  We need to limit video recording time.</p>
  
  <p>pubspec.yaml
       dependencies:
        image_picker: ^0.4.10</p>
  
  <pre><code>[flutter] flutter doctor
  Doctor summary (to see all details, run flutter doctor -v):
  [✓] Flutter (Channel beta, v1.0.1-pre.2, on Mac OS X 10.14.2 18C54, locale zh-Hans-CN)
  [✓] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
  [✓] iOS toolchain - develop for iOS devices (Xcode 10.1)
  [✓] Android Studio (version 3.0)
  [✓] IntelliJ IDEA Ultimate Edition (version 2018.1.7)
  [✓] VS Code (version 1.31.1)
  [✓] Connected device (2 available)
  
  • No issues found!
  exit code 0
  
  
  // Open the camera for recording Code
  ImagePicker.pickVideo(source: ImageSource.camera).then((File file) {
      if (file != null &amp;&amp; mounted) {
          var tempFile = file;
      }
  });
  </code></pre>
  
  <p>I want to set the recording time before I turn on the camera.
  What should I do?</p>