width top-level property

dynamic get width

This method is used to get device viewport width.

Implementation

get width {
  return size.width;
}