How to tell flutter widget that keyboard doesnt change screen size
问题 I was looking for a way to split my background in my flutter application using a wave, and I found this piece of code: Design a background from 2 images in flutter It works perfectly, and I could adapt it to my needs. The only thing I don't understand is that every time I open my keyboard and type something into an input field, the wave is recalculated. I thought if I used a StatelessWidget, that wouldn't happen. Does anyone have an idea how I can fix this problem? Thank you very much. 来源: