Design a background from 2 images in flutter
问题 I'd like to create a a new stateless widget class that is defined by 2 images(top, bottom) and a line(defined by a function, e.g. (x){x+500} , a width(can be 0, if it shouldn't be drawn), and a color) separating the two images. For each pixel: If the y position of a pixel is greater than the result of f(x) + width/2 a pixel of bottom shall be drawn If it's smaller than f(x) - width / 2 a pixel of top shall be drawn Else a pixel of the given line color shall be drawn Blow see an example of