device_boot_time 1.0.0+2 copy "device_boot_time: ^1.0.0+2" to clipboard
device_boot_time: ^1.0.0+2 copied to clipboard

A cross-platform Flutter plugin that retrieves the time elapsed since the system was last booted, in milliseconds.

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add device_boot_time

This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):

dependencies:
  device_boot_time: ^1.0.0+2

Alternatively, 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:device_boot_time/device_boot_time.dart';
1
likes
160
points
0
downloads

Publisher

unverified uploader

Weekly Downloads

A cross-platform Flutter plugin that retrieves the time elapsed since the system was last booted, in milliseconds.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

flutter, plugin_platform_interface

More

Packages that depend on device_boot_time

Packages that implement device_boot_time