platformViewId property Null safety

int? platformViewId
final

The id of the platform view, whose semantics nodes will be added as children to this node.

If this value is non-null, the SemanticsNode must not have any children as those would be replaced by the semantics nodes of the referenced platform view.

See also:

  • AndroidView, which is the platform view for Android.
  • UiKitView, which is the platform view for iOS.

Implementation

final int? platformViewId;