once 1.4.0
once: ^1.4.0 copied to clipboard
Want to run a piece of code once periodically (Once - Daily - Weekly - Monthly - On new version - Any period)? We cover your back.
1.4.0 #
-
Add Functions
clearremoves theOnceorOnceWidgetdata for a specifickey.clearAllremoves all theOnceandOnceWidgetdata.
-
Add debug parameters that only works in debug mode
debugCallbackused to debug thecallbackfunction.debugFallbackused to debug thefallbackfunction.
-
Add prefix to the
keyto make it unique No changes required.
1.3.0 #
- Add
BuildContextto thebuilderandfallbackofWidgetOnce
1.2.1 #
- ReadMe.md Update
1.2.0 #
- Add
WidgetOncethat returnWidget - Add
runOnNewDaymethod that runs on every new day. The day here means you run the function at 3:00 AM. So, Day means the next 12:00 AM.
1.1.2 #
- Analyzing
1.1.0 #
- Fix bugs
- All periodic functions now are returning a nullable generic typed Future
Future<T?> - Add
fallbackin case if that callback future returns null
1.0.0 #
- initial release.