For calculating how much
static double widthFraction({ required double fraction, }) { assert( fraction < 1, 'fraction must be lower than 1', ); return _screenWidth * fraction; }