widthOf static method
Implementation
static double widthOf(double factor, BuildContext context) {
var width = MediaQuery.of(context).size.width;
return factor * (width / 100);
}
static double widthOf(double factor, BuildContext context) {
var width = MediaQuery.of(context).size.width;
return factor * (width / 100);
}