AppKitView constructor

const AppKitView({
  1. Key? key,
  2. required String viewType,
  3. PlatformViewCreatedCallback? onPlatformViewCreated,
  4. PlatformViewHitTestBehavior hitTestBehavior = PlatformViewHitTestBehavior.opaque,
  5. TextDirection? layoutDirection,
  6. dynamic creationParams,
  7. MessageCodec? creationParamsCodec,
  8. Set<Factory<OneSequenceGestureRecognizer>>? gestureRecognizers,
})

Creates a widget that embeds a macOS AppKit NSView.

Implementation

const AppKitView({
  super.key,
  required super.viewType,
  super.onPlatformViewCreated,
  super.hitTestBehavior = PlatformViewHitTestBehavior.opaque,
  super.layoutDirection,
  super.creationParams,
  super.creationParamsCodec,
  super.gestureRecognizers,
});