real_ist_time 1.0.0
real_ist_time: ^1.0.0 copied to clipboard
Get accurate Indian Standard Time (IST) from multiple NTP servers and HTTP APIs with smart caching and automatic fallback. Independent of device clock settings.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add real_ist_timeWith Flutter:
$ flutter pub add real_ist_timeThis will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
real_ist_time: ^1.0.0Alternatively, your editor might support dart pub get or flutter pub get. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:real_ist_time/real_ist_time.dart';