asBackground method

CustomPaint asBackground({
  1. Widget? child,
})

Implementation

CustomPaint asBackground({Widget? child}){
  return CustomPaint(painter: this, child: child);
}