bool shouldRelayout(@checked SingleChildLayoutDelegate oldDelegate)

Override this method to return true when the child needs to be laid out.

Source

bool shouldRelayout(@checked SingleChildLayoutDelegate oldDelegate) => true;