once 1.1.0 copy "once: ^1.1.0" to clipboard
once: ^1.1.0 copied to clipboard

outdated

Want to run a piece of code once periodically (Daily - Weekly - Monthly - On new version - Any period)? We cover your back.

1.1.0 #

  • Fix bugs
  • All periodic functions now are returning a nullable generic typed Future Future<T?>
  • Add fallback in case if that callback future returns null
    • Once.runOnEveryNewVersion(
        callback: () {
          /* */
        },
        fallback: () {
          /* */
        },
      );
      

1.0.0 #

  • initial release.
222
likes
0
pub points
89%
popularity

Publisher

verified publishermosoliman.tech

Want to run a piece of code once periodically (Daily - Weekly - Monthly - On new version - Any period)? We cover your back.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

package_info_plus, shared_preferences

More

Packages that depend on once