milkWaves property
Translucent white waves splashing like milk in a glass.
Recommended duration: 100 seconds
Recommended for dark mode.
Implementation
static WavePainterData milkWaves = WavePainterData(
backgroundColor: ColorSchemes.vibrantBlackBg,
waves: [
Wave(
direction: WaveDirection.right2Left,
gravityDirection: WaveGravityDirection.down,
amplitude: 80.0,
frequency: 24,
offset: 0.80,
useScaledOffset: true,
color: ColorSchemes.gentleWhiteBg.withAlpha(128),
lineColor: null,
lineThickness: 1.0,
),
Wave(
direction: WaveDirection.right2Left,
gravityDirection: WaveGravityDirection.down,
amplitude: 80.0,
frequency: 16,
phase: 0.5,
offset: 0.83,
useScaledOffset: true,
color: ColorSchemes.gentleWhiteBg.withAlpha(128),
lineColor: null,
lineThickness: 1.0,
),
Wave(
direction: WaveDirection.right2Left,
gravityDirection: WaveGravityDirection.down,
amplitude: 40.0,
frequency: 19,
phase: 0.3,
offset: 0.87,
useScaledOffset: true,
color: ColorSchemes.gentleWhiteBg.withAlpha(128),
lineColor: null,
lineThickness: 1.0,
),
],
);