gps_time_plugin 0.0.1
gps_time_plugin: ^0.0.1 copied to clipboard
A Flutter plugin that provides accurate GPS-synced time on Android and iOS. Extracts trusted time directly from GPS location fixes, helping avoid reliance on potentially manipulated or drifted device clocks.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add gps_time_pluginThis will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):
dependencies:
gps_time_plugin: ^0.0.1Alternatively, your editor might support flutter pub get. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:gps_time_plugin/gps_time_plugin.dart';