PlatformViewRenderBox constructor
- required PlatformViewController controller,
- required PlatformViewHitTestBehavior hitTestBehavior,
- required Set<
Factory< gestureRecognizers,OneSequenceGestureRecognizer> >
Creating a render object for a PlatformViewSurface.
Implementation
PlatformViewRenderBox({
required PlatformViewController controller,
required PlatformViewHitTestBehavior hitTestBehavior,
required Set<Factory<OneSequenceGestureRecognizer>> gestureRecognizers,
}) : assert(controller.viewId > -1),
_controller = controller {
this.hitTestBehavior = hitTestBehavior;
updateGestureRecognizers(gestureRecognizers);
}