glorylab / wave

A Flutter package for displaying waves.
https://wave.glorylab.xyz
MIT License
1.11k stars 96 forks source link

Why waves do not become full screen? #41

Open imwolfmoon opened 2 years ago

imwolfmoon commented 2 years ago

I try many ways for create waves with height full screen but no way found this is output

photo_2022-02-15_20-03-29

and this is my code

return Stack( children: <Widget>[ Align( alignment: Alignment.bottomCenter, child: WaveWidget( config: CustomConfig( gradients: [....], durations: [19440, 10800, 6000], heightPercentages: [0.05, 0.01, 0.02], blur: MaskFilter.blur(BlurStyle.solid, 10), gradientBegin: Alignment.bottomCenter, gradientEnd: Alignment.topCenter, ), backgroundColor: Color.fromARGB(255, 22, 21, 21), size: Size( double.infinity, MediaQuery.of(context).size.height, ), waveAmplitude: 14, ), ),

Maxmontgelas commented 2 years ago

heightPercentages: [ -0.05, -0.01, -0.02]