updateBoxConstraints method
Implementation
void updateBoxConstraints(BoxConstraints constraints) {
boxConstraints = constraints;
updateSize(constraints.maxWidth, constraints.maxHeight);
}
void updateBoxConstraints(BoxConstraints constraints) {
boxConstraints = constraints;
updateSize(constraints.maxWidth, constraints.maxHeight);
}