performLayout method

  1. @override
void performLayout(
  1. BoxConstraints constraints
)
override

Implementation

@override
void performLayout(BoxConstraints constraints) {
  child?.layout(BoxConstraints.tight(Size(_allocated, constraints.maxHeight)));
  child?.setOffset(0, 0);
  setSize(_allocated, constraints.maxHeight);
}