create method Null safety

Future<void> create(
  1. {Size? size}
)

Creates the platform view with the initial size.

size is the view's initial size in logical pixel. size can be omitted if the concrete implementation doesn't require an initial size to create the platform view.

Implementation

Future<void> create({Size? size}) async {}