build_info_linux 1.0.2 copy "build_info_linux: ^1.0.2" to clipboard
build_info_linux: ^1.0.2 copied to clipboard

PlatformLinux

Linux implementation of Flutter plugin that retrieves build date and time and installation date and time.

build_info_linux #

The Linux implementation of build_info.

Usage #

This package is endorsed, which means you can simply use build_info normally. This package will be automatically included in your app when you do, so you do not need to add it to your pubspec.yaml.

However, if you import this package to use any of its APIs directly, you should add it to your pubspec.yaml as usual.

About implementation of Linux version #

The Linux version of build_info works as follows.

  1. At build time, linux/CMakeLists.txt defines the BUILD_INFO_TIMESTAMP constant and sets the build time in milliseconds.
  2. Call the BuildInfo.fromPlatform method from Flutter.
  3. The value of the BUILD_INFO_TIMESTAMP constant is set as the build date and time.

In the Linux version, the installation date and time is always null.

0
likes
140
pub points
5%
popularity

Publisher

verified publishercraftsoft.dev

Linux implementation of Flutter plugin that retrieves build date and time and installation date and time.

Homepage
Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

build_info_platform_interface, flutter

More

Packages that depend on build_info_linux