'How to find kernal time of real device using flutter?

Please, I want to find the kernel time of my application and I want to test it on a real device. Is there any way to find it by using flutter? 

Also, I use this command: flutter run --trace-startup --profile. It is shown in the console, but I want it to show in the UI.



Solution 1:[1]

Use this plugin ntp: ^2.0.0

 DateTime startDate = await NTP.now();
 print('NTP DateTime: ${startDate}');

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Anandh Krishnan