def METHOD_NAME(cls, amount: int) -> Dimension:
    """
    Return a :class:`.Dimension` with an exact size. (min, max and
    preferred set to ``amount``).
    """
    return cls(min=amount, max=amount, preferred=amount)