initialSize property

Size initialSize
final

The WebView initial size in pixels.

Set -1 to match the corresponding width or height of the current device screen size. Size(-1, -1) will match both width and height of the current device screen size.

NOTE for Android: Size width and height values will be converted to int values because they cannot have double values.

Implementation

final Size initialSize;