system_time_change_detector 0.0.4 copy "system_time_change_detector: ^0.0.4" to clipboard
system_time_change_detector: ^0.0.4 copied to clipboard

This plugin allows to detect timezone / time changes via Flutter desktop apps.

system_time_change_detector #

This plugin allows to detect timezone / time changes via Flutter desktop apps.

Platform Support #

Linux macOS Windows
✔️ ✔️

Quick Start #

Installation #

Add this to your package's pubspec.yaml file:

dependencies:
  system_time_change_detector: ^0.0.3

Example #

// Import package
import 'package:system_time_change_detector/systemtimechangedetector.dart';

// Initialize variable
final _timechangedetectorPlugin = SystemTimeChangeDetector();
await _timechangedetectorPlugin.getSystemTimeChange(() {
        debugPrint("TIME / ZONE CHANGED"); // Handle the changes
      });

Please see the example app of this plugin for a full example.

Platform Differences #

Name Description Linux macOS Windows
timezone Detect system timezone changes ✔️ ✔️
time Detect system time / date changes ✔️

License #

MIT

3
likes
150
points
385
downloads

Publisher

unverified uploader

Weekly Downloads

This plugin allows to detect timezone / time changes via Flutter desktop apps.

Repository (GitHub)

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

flutter, plugin_platform_interface

More

Packages that depend on system_time_change_detector