0

I want create view like this, using layers. (like in swift maskLayer). Can I do somthing in Flutter?

enter image description here

dev-aentgs
  • 1,218
  • 2
  • 9
  • 17
esfsef
  • 193
  • 3
  • 11

1 Answers1

1

Note: This is a crude version and might not be the best/efficient way of achieving the result.

I have created a very rough version for the UI code on pastebin.

Used this answer by @Yann39 as a starting point.

Used CustomPainter for the hole and Stack for layout. You will have to refine the code according to your needs.

This is the output: crude version

dev-aentgs
  • 1,218
  • 2
  • 9
  • 17