title: How to specify a TimeZone when creating a DateTime object in Dart/Flutter?
body: <p>Dart?flutter does not appear to allow a timezone (eg: "Australia/Sydney" or "America/Detroit") to be specified when creating a DateTime object. Either the local timezone will be used, or UT may be specified.</p>
  
  <p>Is anyone aware of a workaround?</p>
  
  <p>There's the Dart package TimeZone, but it appears to be unusable within a flutter app.</p>
  
  <p>See <a href="https://pub.dartlang.org/packages/timezone" rel="noreferrer">https://pub.dartlang.org/packages/timezone</a> for the package I'm referring to.</p>
  
  <p>EDIT: The timezone package does work in Flutter, with some setup. See Richard Heap's answer below.</p>