esfsef
esfsef

Reputation: 213

Layers in flutter

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

enter image description here

Upvotes: 0

Views: 1067

Answers (1)

dev-aentgs
dev-aentgs

Reputation: 1288

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

Upvotes: 1

Related Questions