RawView constructor

RawView({
  1. Key? key,
  2. required FlutterView view,
  3. @Deprecated('Do not use. ' 'This parameter only exists to implement the deprecated RendererBinding.pipelineOwner property until it is removed. ' 'This feature was deprecated after v3.10.0-12.0.pre.') PipelineOwner? deprecatedDoNotUseWillBeRemovedWithoutNoticePipelineOwner,
  4. @Deprecated('Do not use. ' 'This parameter only exists to implement the deprecated RendererBinding.renderView property until it is removed. ' 'This feature was deprecated after v3.10.0-12.0.pre.') RenderView? deprecatedDoNotUseWillBeRemovedWithoutNoticeRenderView,
  5. required Widget child,
})

Creates a RawView widget.

Implementation

RawView({
  super.key,
  required this.view,
  @Deprecated(
    'Do not use. '
    'This parameter only exists to implement the deprecated RendererBinding.pipelineOwner property until it is removed. '
    'This feature was deprecated after v3.10.0-12.0.pre.'
  )
  PipelineOwner? deprecatedDoNotUseWillBeRemovedWithoutNoticePipelineOwner,
  @Deprecated(
    'Do not use. '
    'This parameter only exists to implement the deprecated RendererBinding.renderView property until it is removed. '
    'This feature was deprecated after v3.10.0-12.0.pre.'
  )
  RenderView? deprecatedDoNotUseWillBeRemovedWithoutNoticeRenderView,
  required this.child,
}) : _deprecatedPipelineOwner = deprecatedDoNotUseWillBeRemovedWithoutNoticePipelineOwner,
     _deprecatedRenderView = deprecatedDoNotUseWillBeRemovedWithoutNoticeRenderView,
     assert((deprecatedDoNotUseWillBeRemovedWithoutNoticePipelineOwner == null) == (deprecatedDoNotUseWillBeRemovedWithoutNoticeRenderView == null)),
     assert(deprecatedDoNotUseWillBeRemovedWithoutNoticeRenderView == null || deprecatedDoNotUseWillBeRemovedWithoutNoticeRenderView.flutterView == view);