deviceWidthInPixel static method

double deviceWidthInPixel(
  1. BuildContext context
)

Implementation

static double deviceWidthInPixel(BuildContext context) =>
    MediaQuery.of(context).size.width;