WidgetMask constructor
const
WidgetMask({})
Creates a widget which paints a mask
widget into a save layer and blends
that layer with its child
.
Implementation
const WidgetMask({
Key? key,
this.blendMode = BlendMode.srcOver,
this.childSaveLayer = false,
required this.mask,
required this.child,
}) : super(key: key);