Last updated:
0 purchases
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.
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.