layout method Null safety

void layout(
  1. Context context,
  2. BoxConstraints constraints,
  3. {bool parentUsesSize = false}
)

First widget pass to calculate the children layout and bounding box

Implementation

void layout(Context context, BoxConstraints constraints,
    {bool parentUsesSize = false});