PlatformViewSurface constructor Null safety
- {Key? key,
- required PlatformViewController controller,
- required PlatformViewHitTestBehavior hitTestBehavior,
- required Set<
Factory< gestureRecognizers}OneSequenceGestureRecognizer> >
Construct a PlatformViewSurface
.
The controller must not be null.
Implementation
const PlatformViewSurface({
super.key,
required this.controller,
required this.hitTestBehavior,
required this.gestureRecognizers,
}) : assert(controller != null),
assert(hitTestBehavior != null),
assert(gestureRecognizers != null);