title: How do you pass arguments from command line to main in Flutter/Dart?
body: <p>How would you run a command and pass some custom arguments with Flutter/Dart so they can then be accessed in the <code>main()</code> call such as:</p>
  
  <pre><code>flutter run -device [my custom arg]
  </code></pre>
  
  <p>So then I can access it with:</p>
  
  <pre><code>void main(List&lt;String&gt; args) {
    print(args.toString());
  }
  </code></pre>
  
  <p>Thank you. </p>