SaveLayer constructor

const SaveLayer({
  1. Key? key,
  2. Paint? paint,
  3. bool debugCheckChildDoesNotNeedCompositing = true,
  4. Widget? child,
})

Creates a widget, which paints its child into a separate save layer.

Implementation

const SaveLayer({
  Key? key,
  this.paint,
  this.debugCheckChildDoesNotNeedCompositing = true,
  this.child,
}) : super(key: key, child: child);