Verifica si el ancho está entre dos valores
bool widthBetween(double min, double max) => width >= min && width <= max;