width method

double width(
  1. double widthSize
)

Implementation

double width(double widthSize) {
  return MediaQuery.of(this).size.width * widthSize;
}