bool sizedByParent

Whether the constraints are the only input to the sizing algorithm (in particular, child nodes have no impact).

Returning false is always correct, but returning true can be more efficient when computing the size of this render object because we don't need to recompute the size if the constraints don't change.

Source

@override
bool get sizedByParent => true;