Animated Backgrounds for Flutter.
Animated Backgrounds for Flutter. Easily extended to paint whatever you want on the canvas.
Note: These examples are laggy because they were recorded from the emulator. Other examples available in the screenshots folder.
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
TickerProviderStateMixinor pass a ticker provider in
AnimatedBackground( behaviour: RandomParticleBehaviour(), vsync: this, child: Text('Hello'), );