Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Why waves do not become full screen? #41

Open
imwolfmoon opened this issue Feb 16, 2022 · 1 comment
Open

Why waves do not become full screen? #41

imwolfmoon opened this issue Feb 16, 2022 · 1 comment

Comments

@imwolfmoon
Copy link

imwolfmoon commented Feb 16, 2022

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
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants