RenderingFlutterBinding constructor Null safety
- {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.
Implementation
RenderingFlutterBinding({ RenderBox? root }) {
assert(renderView != null);
renderView.child = root;
}