RenderingFlutterBinding constructor

  1. {RenderBox? root}

Creates a binding for the rendering layer.

The root render box is attached directly to the renderView and is given constraints that require it to fill the window.

This binding does not automatically schedule any frames. Callers are responsible for deciding when to first call scheduleFrame.


RenderingFlutterBinding({ RenderBox? root }) {
  renderView.child = root;