I have been scratching my head for a very long time just to get this type of design layout for a TextFormField but failed!
Notice the anti strait lines. My further search for this layout on the internet concludes that I can archive this type of layout using a custom clipper or clip-path. but I am just a beginner to learn flutter and never worked with custom clipper before, I have no idea how to use it. Please help.
I think you can use a CustomPainter :
Here is the link for the basics of CustomPainter : link
UPDATE :
Here is the written code with the widget displaying the TextField and of course your custom shape :
You just have to do the same for the password TextField.
And here is how it looks :