Closed Akash9151 closed 2 years ago
How I'm initializing the timezone database -
var byteData = await rootBundle.load('assets/2021a.tzf'); initializeDatabase(byteData.buffer.asUint8List());
After that I'm calling the getLocation Function from package:timezone/timezone.dart With Input America/New_York
package:timezone/timezone.dart
America/New_York
To GET the Location Name - I'm calling location.name
location.name
Here is the Output I'm getting -
In Release Apk Build -
In Flutter run -
I tried changing the Input from America/New_York to Asia/Kolkata.
Asia/Kolkata
America/Santiago
How I'm initializing the timezone database -
After that I'm calling the getLocation Function from
package:timezone/timezone.dart
With InputAmerica/New_York
To GET the Location Name - I'm calling
location.name
Here is the Output I'm getting -
In Release Apk Build -
In Flutter run -