animated_background 1.0.1

  • README.md
  • CHANGELOG.md
  • Example
  • Installing
  • Versions
  • 94

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:

dependencies:
  animated_background: ^1.0.1
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'),
);

[Unreleased]

[1.0.1] - 2019/01/27

Added #

  • Add onPop callback to BubblesBehaviour - #13
  • Add background color option for SpaceBehaviour - #15
  • Add EmptyBehaviour that draws nothing - #14

Changed #

  • Update dependency packages

Fixed #

  • Fix particles options update crash - #12

[1.0.0] - 2018/07/31

Added #

  • New Space warp field behaviour and "fly child" experimental behaviour.
  • New Bubbles behaviour.
  • Add configuration for racing lines behaviour.

Changed #

  • Tick is no longer called when the behaviour is not initialized.

Fixed #

  • The render object ticker is now disposed correctly.

[0.0.6] - 2018/07/23

  • Fix dependencies

[0.0.5] - 2018/07/23

  • New Racing Lines Behaviour
  • Allow Dart 2.0
  • Format code

[0.0.4] - 2018/07/14

  • No functional changes (except fixing the example)
  • Add basic documentation.

[0.0.3] - 2018/07/14

  • Add image particles.
  • Add ability to extend and create new types of backgrounds.
  • Make example app more interactive.

[0.0.2] - 2018/07/08

  • Fix README only...

[0.0.1] - 2018/07/08

  • Initial release of the particle animated background with some configuration options.

example/README.md

example #

A new Flutter project.

Getting Started #

For help getting started with Flutter, view our online documentation.

Use this package as a library

1. Depend on it

Add this to your package's pubspec.yaml file:


dependencies:
  animated_background: ^1.0.1

2. Install it

You can install packages from the command line:

with Flutter:


$ flutter packages get

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

3. Import it

Now in your Dart code, you can use:


import 'package:animated_background/animated_background.dart';
  
Version Uploaded Documentation Archive
1.0.4 May 13, 2019 Go to the documentation of animated_background 1.0.4 Download animated_background 1.0.4 archive
1.0.3 May 13, 2019 Go to the documentation of animated_background 1.0.3 Download animated_background 1.0.3 archive
1.0.2 May 13, 2019 Go to the documentation of animated_background 1.0.2 Download animated_background 1.0.2 archive
1.0.1 Jan 27, 2019 Go to the documentation of animated_background 1.0.1 Download animated_background 1.0.1 archive
1.0.0 Jul 31, 2018 Go to the documentation of animated_background 1.0.0 Download animated_background 1.0.0 archive
0.0.6 Jul 23, 2018 Go to the documentation of animated_background 0.0.6 Download animated_background 0.0.6 archive
0.0.5 Jul 23, 2018 Go to the documentation of animated_background 0.0.5 Download animated_background 0.0.5 archive
0.0.4 Jul 15, 2018 Go to the documentation of animated_background 0.0.4 Download animated_background 0.0.4 archive
0.0.3 Jul 14, 2018 Go to the documentation of animated_background 0.0.3 Download animated_background 0.0.3 archive
0.0.2 Jul 8, 2018 Go to the documentation of animated_background 0.0.2 Download animated_background 0.0.2 archive

All 12 versions...

Popularity:
Describes how popular the package is relative to other packages. [more]
88
Health:
Code health derived from static analysis. [more]
100
Maintenance:
Reflects how tidy and up-to-date the package is. [more]
100
Overall:
Weighted score of the above. [more]
94
Learn more about scoring.

We analyzed this package on May 12, 2019, and provided a score, details, and suggestions below. Analysis was completed with status completed using:

  • Dart: 2.3.0
  • pana: 0.12.15
  • Flutter: 1.5.8

Platforms

Detected platforms: Flutter

References Flutter, and has no conflicting libraries.

Health suggestions

Format lib/bubbles.dart.

Run flutter format to format lib/bubbles.dart.

Format lib/lines.dart.

Run flutter format to format lib/lines.dart.

Format lib/particles.dart.

Run flutter format to format lib/particles.dart.

Dependencies

Package Constraint Resolved Available
Direct dependencies
Dart SDK >=1.19.0 <3.0.0
flutter 0.0.0
meta ^1.1.5 1.1.6 1.1.7
Transitive dependencies
collection 1.14.11
sky_engine 0.0.99
typed_data 1.1.6
vector_math 2.0.8
Dev dependencies
flutter_test