renderViewGroups method

void renderViewGroups(
  1. List<RenderViewGroup> groups,
  2. Canvas canvas, {
  3. Rect? region,
  4. double? pixelRatio,
})

Renders groups of views onto canvas, each group sharing the work that does not depend on which of its views looks (see RenderViewGroup).

Otherwise renderViews, which is this with one group per view.

Implementation

void renderViewGroups(
  List<RenderViewGroup> groups,
  ui.Canvas canvas, {
  ui.Rect? region,
  double? pixelRatio,
}) {
  _checkNotDisposed('renderViewGroups');
  _renderViewGroupsInternal(
    groups,
    canvas,
    region: region,
    pixelRatio: pixelRatio,
  );
}