screenWidthPercentage function

double screenWidthPercentage(
  1. BuildContext context, {
  2. double percentage = 1,
})

Implementation

double screenWidthPercentage(BuildContext context, {double percentage = 1}) =>
    screenWidth(context) * percentage;