system_clock 0.4.1 copy "system_clock: ^0.4.1" to clipboard
system_clock: ^0.4.1 copied to clipboard

outdated

Flutter timekeeping facilities. Powered by ffi

system_clock #

Pub

Flutter timekeeping facilities, powered by dart:ffi.

support platforms: AndroidiOSMacosWindows

TODO: linux

Getting Started #

import 'package:system_clock/system_clock.dart';

void main() {
  println("system uptime: ${SystemClock.uptime()}");
  println("system elapsed realtime: ${SystemClock.elapsedRealtime()}");
}

Refs #

https://android.googlesource.com/platform/frameworks/base/+/56a2301/core/java/android/os/SystemClock.java https://android.googlesource.com/platform/frameworks/base/+/master/core/jni/android_os_SystemClock.cpp https://android.googlesource.com/platform/frameworks/native/+/android-4.2.2_r1/include/utils/Timers.h https://android.googlesource.com/platform/system/core/+/master/libutils/Timers.cpp

11
likes
0
pub points
89%
popularity

Publisher

verified publishersoit.tech

Flutter timekeeping facilities. Powered by ffi

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

flutter

More

Packages that depend on system_clock