I am a newbie to Dart. I am currently facing a problem to format my DateTime to display the time based on the device's timezone. Can someone advise me how can I achieve that? My current code as following:
DateFormat('dd MMM yyyy hh:mm')
Output Sample: 11 Mar 2019 07:04
Expectation: My device is using GMT+8 at the moment, I am expecting it to display as 11 Mar 2019 15.04.
Please advise. Thanks!!