capture method
Implementation
ui.Image? capture() {
final renderObject = _containerKey.currentContext!.findRenderObject()
as RenderRepaintBoundary;
return renderObject.toImageSync(pixelRatio: pixelRatio);
}
ui.Image? capture() {
final renderObject = _containerKey.currentContext!.findRenderObject()
as RenderRepaintBoundary;
return renderObject.toImageSync(pixelRatio: pixelRatio);
}