WavePainter constructor
const
WavePainter({})
WavePainter 波浪背景组件
Implementation
const WavePainter({
required this.progress,
super.key,
this.child,
this.waveHeight = 6.0,
this.waveSpeed = 1.5,
this.waveColor,
this.waveCount = 3,
this.animationCurve = Curves.linear,
this.radius = 0.0,
this.shrinkHeight = 0.0,
}) : assert(progress >= 0.0 && progress <= 1.0);