screenWidth function

double screenWidth({
  1. dynamic context,
  2. double? mulBy,
})

Implementation

double screenWidth({var context, double? mulBy}) {
  return MediaQuery.of(context).size.width * mulBy!;
}