scale Box
Scales the given bounding box dimensions and positions to fit inside a container, like a BoxWithConstraints.
Return
A ScaledBox containing the scaled width, height, left offset, and top offset.
Parameters
bounds
The original bounding box dimensions and position in the frame.