How to draw custom shapes in flutter

Viewed 2216

I'm trying to draw a custom shape like this in my app:

enter image description here

Tried to draw using custom painter, but haven't figured out how to get this sort of shape. It's really just a container with a custom border I think, but not sure even where to start. It's just the shape I'm interested in, not the content.

Or if someone knows how to draw a rounded rectangle with a thinner bottom section, then that would really help me to work out the rest.

Also, does anyone here know how to draw a rounded rectangle that is thinner in the middle, like the shape behind the purple one in the example I've given?

Any help is grately appreciated.

Thanks in advance

1 Answers
Related