getSize method

Size getSize (BoxConstraints constraints)

The size of this object given the incoming constraints.

Defaults to the biggest size that satisfies the given constraints.

Implementation

Size getSize(BoxConstraints constraints) => constraints.biggest;