getScreenWidth static method

double getScreenWidth(
  1. BuildContext context
)

Implementation

static double getScreenWidth(BuildContext context) {
  return MediaQuery.of(Plotline.ctx).size.width;
}