reset_provider 0.1.1 copy "reset_provider: ^0.1.1" to clipboard
reset_provider: ^0.1.1 copied to clipboard

A widget that resets it's child on request.

A widget that resets it's child on request.

A reset goes like:

  1. Child is replaced with a resetWidget (defaults to a loading spinner with opaque background).
  2. 1 second passes.
  3. child is reintroduced, it's state reset (disposed->init'd).

Request a reset like this:

context.read<Reset>().value();
0
likes
130
points
23
downloads

Publisher

unverified uploader

Weekly Downloads

A widget that resets it's child on request.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

flutter, provider

More

Packages that depend on reset_provider