bool shouldRelayout(@checked GridDelegate oldDelegate)

Override this method to return true when the children need to be laid out.

Source

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