unregisterCapture method

void unregisterCapture(
  1. RenderBox capture
)

由 MiuixLayerBackdropCapture 的渲染对象在 detach / 换 backdrop 时注销。

Implementation

void unregisterCapture(RenderBox capture) {
  if (identical(_capture, capture)) _capture = null;
}