screensaver 1.0.3
screensaver: ^1.0.3 copied to clipboard
A customizable screen saver package that activates after a period of inactivity. Supports images, GIFs, and videos.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add screensaver
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
screensaver: ^1.0.3
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:screensaver/screensaver.dart';