InlineInAppView constructor Null safety

InlineInAppView(
  1. {Key? key,
  2. required String viewId,
  3. bool androidUseVirtualDisplay = false,
  4. dynamic onAppEvent(
    1. Event
    )?,
  5. Function? onCompleted,
  6. Function? onClose}
)

Implementation

InlineInAppView(
    {Key? key,
    required this.viewId,
    this.androidUseVirtualDisplay = false,
    this.onAppEvent,
    this.onCompleted,
    this.onClose})
    : creationParams = {
        "viewId": viewId,
      },
      super(key: key);