flutter_daylight_savings

Last updated:

0 purchases

flutter_daylight_savings Image
flutter_daylight_savings Images
Add to Cart

Description:

flutter daylight savings

Flutter Daylight Savings #
Get upcoming daylight savings transitions from the operating system
No Dependencies #
FlutterDaylightSavings has zero dependencies besides Flutter, Android, iOS, and MacOS themselves.
Usage #
// class DstTransition {
// final int unixtime; // in utc
// final int localOffset; // in minutes
//}

List<DstTransition> transitions = await FlutterDaylightSavings.getNextTransitions(count: 50);
copied to clipboard
Example App #
Enable the platforms you need.
cd ./example
flutter config --enable-macos-desktop
flutter config --enable-android
flutter config --enable-ios
flutter create .
flutter run
copied to clipboard
⭐ Stars ⭐ #
Please star this repo & on pub.dev. We all benefit from having a larger community.

License:

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product:

Customer Reviews

There are no reviews.