flutter_animated_background

by AndreBaltazar8

Animated Backgrounds for Flutter.

136 Stars 11 Forks Last release: Not found MIT License 36 Commits 2 Releases

Available items

No Items, yet!

The developer of this repository has not created any items for sale yet. Need a bug fixed? Help with integration? A different license? Create a request here:

Animated Backgrounds for Flutter

pub package

Animated Backgrounds for Flutter. Easily extended to paint whatever you want on the canvas.

Screenshot Screenshot

Note: These examples are laggy because they were recorded from the emulator. Other examples available in the screenshots folder.

How to use

In your pubspec.yaml:

yaml
dependencies:
  animated_background: ^1.0.5

In your Dart file:

dart
import 'package:animated_background/animated_background.dart';

Use in a Stateful Widget with mixin

TickerProviderStateMixin
or pass a ticker provider in
vsync
.
AnimatedBackground(
  behaviour: RandomParticleBehaviour(),
  vsync: this,
  child: Text('Hello'),
);

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.