web_cache_clear 0.0.2 copy "web_cache_clear: ^0.0.2" to clipboard
web_cache_clear: ^0.0.2 copied to clipboard

Platformweb

A Flutter web plugin to automatically clear the browser cache and reload the page when a new app version is detected. Ideal for ensuring users get the latest version.

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add web_cache_clear

This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):

dependencies:
  web_cache_clear: ^0.0.2

Alternatively, your editor might support flutter pub get. Check the docs for your editor to learn more.

Import it

Now in your Dart code, you can use:

import 'package:web_cache_clear/web_cache_clear.dart';
2
likes
160
points
131
downloads

Publisher

unverified uploader

Weekly Downloads

A Flutter web plugin to automatically clear the browser cache and reload the page when a new app version is detected. Ideal for ensuring users get the latest version.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

flutter, flutter_web_plugins, plugin_platform_interface, web

More

Packages that depend on web_cache_clear

Packages that implement web_cache_clear