floating_dots 0.2.2 floating_dots: ^0.2.2 copied to clipboard
Creates a group of floating dots (or a single floating dot) that travel at a random speed from one edge of the screen to another.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add floating_dots
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
floating_dots: ^0.2.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:floating_dots/floating_dots.dart';