FlutterCountdownTimer
FlutterCountdownTimer copied to clipboard
Time in specific timezone
Hello I would like to propose a change to the library inside the file countdown_timer_controller.dart
int remainingTimeStamp = (_endTime - DateTime.now().millisecondsSinceEpoch) ~/ 1000;
I am making a app that should countdown time before a key is available in specific timezone but the problem is that whatever I do DateTime.now() will always use the current timezone of the user.
This line should be changed with optional parameter of specific timezone to be passed so the time is timezone agnostic
OK, I will try to open the current time to get parameters.