Is it possible to set the package root for a Dartium launch?


I’d like to be able to do this on a per-launch basis without having to set the global package root in Tools->Preferences. Is this possible?

I see an ‘arguments’ option in the Dartium launch configuration, but that appears to be passing args to the browser, not the embedded VM?


Currently the editor does not have support for setting package root for Dartium launches on a per launch basis. Dartium looks for the value for package root in the environment variable DART_PACKAGE_ROOT, it does not get passed in as an argument.

Answered By – Keerti P

Answer Checked By – Katrina (FlutterFixes Volunteer)

Leave a Reply

Your email address will not be published. Required fields are marked *