DynamicBg constructor

const DynamicBg({
  1. Key? key,
  2. required PainterData painterData,
  3. Duration duration = const Duration(seconds: 30),
  4. Widget? child,
})

Creates a DynamicBg widget.

This is an animated widget that can be used to make a dynamic background with a child widget on top of it.

Implementation

const DynamicBg({
  super.key,
  required this.painterData,
  this.duration = const Duration(seconds: 30),
  this.child,
});