<div class="highlight highlight-text-shell-session notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="ubuntu:~$ flutter doctor
Building flutter tool...
The setter 'readEventsEnabled=' was called on null.
Receiver: null
Tried calling: readEventsEnabled=false
package:pub/src/source/hosted.dart 338                    BoundHostedSource._throwFriendlyError
package:pub/src/source/hosted.dart 140                    BoundHostedSource.doGetVersions
===== asynchronous gap ===========================
package:pub/src/source.dart 165                           BoundSource.getVersions
package:pub/src/solver/version_solver.dart 231            SolverCache.getVersions.&lt;fn&gt;
dart:async                                                runZoned
package:pub/src/http.dart 228                             withDependencyType
package:pub/src/solver/version_solver.dart 230            SolverCache.getVersions
===== asynchronous gap ===========================
package:pub/src/solver/unselected_package_queue.dart 121  UnselectedPackageQueue._getNumVersions
===== asynchronous gap ===========================
package:pub/src/solver/unselected_package_queue.dart 50   UnselectedPackageQueue.add
===== asynchronous gap ===========================
package:pub/src/solver/version_selection.dart 68          VersionSelection.select.&lt;fn&gt;
===== asynchronous gap ===========================
dart:async                                                _completeOnAsyncReturn
package:pub/src/solver/version_selection.dart 70          VersionSelection.select.&lt;fn&gt;
dart:async                                                _completeOnAsyncReturn
package:pub/src/solver/unselected_package_queue.dart 54   UnselectedPackageQueue.add
dart:async                                                _completeOnAsyncReturn
package:pub/src/solver/unselected_package_queue.dart 128  UnselectedPackageQueue._getNumVersions
dart:async                                                _Completer.completeError
package:pub/src/solver/version_solver.dart 254            SolverCache.getVersions
dart:async                                                _Completer.completeError
package:pub/src/source/hosted.dart 153                    BoundHostedSource.doGetVersions
dart:async                                                _Completer.completeError
package:http/src/base_client.dart 172                     BaseClient._sendUnstreamed
dart:async                                                _Completer.completeError
package:http_throttle/http_throttle.dart 51               ThrottleClient.send
dart:async                                                _Completer.completeError
package:pub/src/http.dart 127                             _PubHttpClient.send
dart:async                                                _Completer.completeError
package:http/src/io_client.dart 66                        IOClient.send
This is an unexpected error. Please run

    pub --trace upgrade --verbosity=error --no-packages-dir

and include the logs in an issue on https://github.com/dart-lang/pub/issues/new
Error: Unable to pub upgrade flutter tool. Retrying in five seconds..."><pre class="notranslate"><span class="pl-e">ubuntu:~</span>$ <span class="pl-s1">flutter doctor</span>
<span class="pl-c1">Building flutter tool...</span>
<span class="pl-c1">The setter 'readEventsEnabled=' was called on null.</span>
<span class="pl-c1">Receiver: null</span>
<span class="pl-c1">Tried calling: readEventsEnabled=false</span>
<span class="pl-c1">package:pub/src/source/hosted.dart 338                    BoundHostedSource._throwFriendlyError</span>
<span class="pl-c1">package:pub/src/source/hosted.dart 140                    BoundHostedSource.doGetVersions</span>
<span class="pl-c1">===== asynchronous gap ===========================</span>
<span class="pl-c1">package:pub/src/source.dart 165                           BoundSource.getVersions</span>
<span class="pl-c1">package:pub/src/solver/version_solver.dart 231            SolverCache.getVersions.&lt;fn&gt;</span>
<span class="pl-c1">dart:async                                                runZoned</span>
<span class="pl-c1">package:pub/src/http.dart 228                             withDependencyType</span>
<span class="pl-c1">package:pub/src/solver/version_solver.dart 230            SolverCache.getVersions</span>
<span class="pl-c1">===== asynchronous gap ===========================</span>
<span class="pl-c1">package:pub/src/solver/unselected_package_queue.dart 121  UnselectedPackageQueue._getNumVersions</span>
<span class="pl-c1">===== asynchronous gap ===========================</span>
<span class="pl-c1">package:pub/src/solver/unselected_package_queue.dart 50   UnselectedPackageQueue.add</span>
<span class="pl-c1">===== asynchronous gap ===========================</span>
<span class="pl-c1">package:pub/src/solver/version_selection.dart 68          VersionSelection.select.&lt;fn&gt;</span>
<span class="pl-c1">===== asynchronous gap ===========================</span>
<span class="pl-c1">dart:async                                                _completeOnAsyncReturn</span>
<span class="pl-c1">package:pub/src/solver/version_selection.dart 70          VersionSelection.select.&lt;fn&gt;</span>
<span class="pl-c1">dart:async                                                _completeOnAsyncReturn</span>
<span class="pl-c1">package:pub/src/solver/unselected_package_queue.dart 54   UnselectedPackageQueue.add</span>
<span class="pl-c1">dart:async                                                _completeOnAsyncReturn</span>
<span class="pl-c1">package:pub/src/solver/unselected_package_queue.dart 128  UnselectedPackageQueue._getNumVersions</span>
<span class="pl-c1">dart:async                                                _Completer.completeError</span>
<span class="pl-c1">package:pub/src/solver/version_solver.dart 254            SolverCache.getVersions</span>
<span class="pl-c1">dart:async                                                _Completer.completeError</span>
<span class="pl-c1">package:pub/src/source/hosted.dart 153                    BoundHostedSource.doGetVersions</span>
<span class="pl-c1">dart:async                                                _Completer.completeError</span>
<span class="pl-c1">package:http/src/base_client.dart 172                     BaseClient._sendUnstreamed</span>
<span class="pl-c1">dart:async                                                _Completer.completeError</span>
<span class="pl-c1">package:http_throttle/http_throttle.dart 51               ThrottleClient.send</span>
<span class="pl-c1">dart:async                                                _Completer.completeError</span>
<span class="pl-c1">package:pub/src/http.dart 127                             _PubHttpClient.send</span>
<span class="pl-c1">dart:async                                                _Completer.completeError</span>
<span class="pl-c1">package:http/src/io_client.dart 66                        IOClient.send</span>
<span class="pl-c1">This is an unexpected error. Please run</span>

<span class="pl-c1">    pub --trace upgrade --verbosity=error --no-packages-dir</span>

<span class="pl-c1">and include the logs in an issue on https://github.com/dart-lang/pub/issues/new</span>
<span class="pl-c1">Error: Unable to pub upgrade flutter tool. Retrying in five seconds...</span></pre></div>
<p dir="auto">I tried to get all the images from mobile using image_picker package.<br>
But it makes user pick only one image at a time. How to get all the images from mobile automatically?<br>
What package or library use to achieve these kinid of things?</p>