Auto Reload

Build Status Coverage Status Pub Version Pub Version (including pre-releases) Pub Likes Flutter Platform

This package is part of the SurfGear toolset made by Surf.

About

A library that helps to perform actions with some periodicity

Usage

AutoReload

main classes:

usage:

  1. Create abstract class that should be able to reload data should implements AutoReloader
  2. Apply mixin on a child (that implements AutoReloader)
  3. override autoReload
  4. call startAutoReload for start and cancelAutoReload for dispose

AutoRequestManager

main classes:

Main feature of AutoRequestManager that requests will only start restarting when a connection is made. It implemented by a third-party library names connectivity.

usage:

  1. Add your request in autoReload
  2. Wait callback about successful completion

Installation

Add auto_reload to your pubspec.yaml file:

dependencies:
  auto_reload: ^0.0.1-dev.5

You can use both stable and dev versions of the package listed above in the badges bar.

Changelog

All notable changes to this project will be documented in this file.

Issues

For issues, file directly in the main SurfGear repo.

Contribute

If you would like to contribute to the package (e.g. by improving the documentation, solving a bug or adding a cool new feature), please review our contribution guide first and send us your pull request.

You PRs are always welcome.

How to reach us

Please feel free to ask any questions about this package. Join our community chat on Telegram. We speak English and Russian.

Telegram

License

Apache License, Version 2.0

Libraries

auto_reload