WavePainterData constructor

const WavePainterData({
  1. required List<Wave> waves,
})

Creates a new WavePainterData object.

A wave background is a background that has gently flowing sine waves that move across the screen in a certain direction.

Implementation

const WavePainterData({
  required List<Wave> waves,
}) : _waves = waves;