performLayout abstract method
Layout protocol: given constraints, compute size and position.
Subclasses implement performLayout; callers should invoke layout so the base class can manage future caching.
Implementation
void performLayout(Constraints constraints);