rami-a 327e3eff77
Add Material/Card borderOnForeground flag to allow border to be painted behind the child widget (#27297)
In certain situations, a developer may require the border of a Material to be painted behind its child. For example a Card widget that has a full width image across the top half. In that scenario, the image should ideally be painted above the border with regards to z-position.

This change exposes a flag on Material widget to achieve this behavior. Additionally, the same flag is exposed on Card widget to allow the Card widget to pass this down to its Material.

I added a couple golden tests to verify this new behavior. Goldens are here:
46a3d26acb
2019-01-30 15:59:50 -05:00
..
2018-09-12 08:29:29 +02:00
2019-01-16 10:29:00 -08:00
2018-10-04 10:29:32 -07:00
2018-09-25 13:57:12 -04:00
2018-09-12 08:29:29 +02:00
2018-09-12 08:29:29 +02:00
2018-09-12 08:29:29 +02:00
2018-09-22 02:02:56 -07:00
2018-09-12 08:29:29 +02:00
2018-09-12 08:29:29 +02:00
2018-10-16 22:03:06 +02:00
2018-10-25 10:56:59 -07:00
2018-09-12 08:29:29 +02:00
2018-09-12 08:29:29 +02:00