innerWidth property
int
get
innerWidth
The read-only Window property innerWidth
returns the interior
width of the window in pixels (that is, the width of the window's ). That
includes the width of the vertical scroll bar, if one is present.
Similarly, the interior height of the window (that is, the height of the layout viewport) can be obtained using the Window.innerHeight property. That measurement also accounts for the height of the horizontal scroll bar, if it is visible.
Implementation
external int get innerWidth;