dynamic_background
0.6.0, released 7 weeks ago by hexcat.dev
Creates animated backgrounds and visual elements for Flutter applications.
What it does
Allows developers to easily integrate customizable animated backgrounds such as scrolling shapes, gradients, waves, and lava lamp effects into their Flutter applications. It provides prebuilt backgrounds and supports applying animations to full screens or smaller individual widgets.
AI-written summary of version 0.6.0, based on the package's README and metadata. Report an inaccuracy
Use it when
- You want to add animated backgrounds or visual effects to your screens.
- You need customizable scrolling shapes, faders, waves, or lava lamp animations.
- You want to apply background animations to specific smaller widgets like buttons.
Skip it when
- You require complex high-performance game engines or heavy particle physics.
- Your project targets older versions of Flutter below 3.27 or Dart below 3.6.1.
Strengths
- Provides multiple prebuilt animated backgrounds and customizable painter data.
- Can be used on entire screens or constrained to individual widgets using standard layout constraints.
- Supports stacking multiple backgrounds for unique visual combinations.
Weaknesses
- Limited to specific animated background styles (scrollers, faders, waves, lava lamps).
- High-frequency full-screen animations may impact performance on low-end devices.
Setup
- Kind
- Flutter widgets
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 1
DynamicBg(
painterData: ScrollerPainterData(
shape: ScrollerShape.circles,
backgroundColor: ColorSchemes.gentleBlueBg,
color: ColorSchemes.gentleBlueFg,
shapeOffset: ScrollerShapeOffset.shiftAndMesh,
),
child: yourPageHere(),
)Alternatives
Packages that do the same job and could replace dynamic_background.
- animated_number
Flutter widget to create animated numbers.
37Compare - like_button
Flutter widget providing Twitter-like heart animation effects for liking and like counts.
64Compare - animated_gradient
Widget that shows a moving animated gradient background for Flutter apps.
49Compare - fluid_background
Create animated fluid backgrounds with colorful floating bubbles and blur effects.
49Compare