AndroidViewSurface constructor Null safety

const AndroidViewSurface(
  1. {Key? key,
  2. required AndroidViewController controller,
  3. required PlatformViewHitTestBehavior hitTestBehavior,
  4. required Set<Factory<OneSequenceGestureRecognizer>> gestureRecognizers}
)

Construct an AndroidPlatformViewSurface.

Implementation

const AndroidViewSurface({
  super.key,
  required AndroidViewController super.controller,
  required super.hitTestBehavior,
  required super.gestureRecognizers,
}) : assert(controller != null),
     assert(hitTestBehavior != null),
     assert(gestureRecognizers != null);