bool shouldReRender(Widget newWidget) { return child?.widget.hashCode != newWidget.hashCode || child?.widget?.key != newWidget.key; }