Search code examples
flutterdatetimeflutter-pluginandroid-settingsflutter-datetime-picker

Detect whether Date & Time is set automatically or manually in Flutter


Is their any way or plugin available to detect whether the device Date & time is set automatically or user has entered manually

i can get proper current Date time with await NTP.now(timeout: Duration(seconds: 3));

But i need to know Device Date & Time is manually set or not Thanks in advance


Solution

  • Flutter does not provide a built-in way to directly determine if the device date and time are set automatically or manually but you can activate this functionality in native android.