<p dir="auto">As of <code class="notranslate">0.0.18</code> Flutter apps exhibit behavior described in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="117178899" data-permission-text="Title is private" data-url="https://github.com/dart-lang/sdk/issues/24942" data-hovercard-type="issue" data-hovercard-url="/dart-lang/sdk/issues/24942/hovercard" href="https://github.com/dart-lang/sdk/issues/24942">dart-lang/sdk#24942</a>. It seems <code class="notranslate">flutter start</code> launches the Dart VM using <a href="https://github.com/flutter/flutter/blob/a0227cab15e230a564fb6316347b8e0ce3d21f6c/packages/flutter_tools/lib/src/commands/start.dart#L69"><em>file path</em></a> to <code class="notranslate">lib/main.dart</code> rather than <em>package path</em>.</p>
<p dir="auto"><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="117178899" data-permission-text="Title is private" data-url="https://github.com/dart-lang/sdk/issues/24942" data-hovercard-type="issue" data-hovercard-url="/dart-lang/sdk/issues/24942/hovercard?comment_id=157275671&amp;comment_type=issue_comment" href="https://github.com/dart-lang/sdk/issues/24942#issuecomment-157275671">dart-lang/sdk#24942 (comment)</a> shows how to solve the problem with standalone Dart VM.</p>
<p dir="auto">--packages is the new way for Dart tools to operate, --package-root is deprecated.</p>