shouldRebuild property
Whether to build again for what selector picked, given what it picked before; null builds when the two differ.
Implementation
// called with what the selector picks, whose S is this widget's own
// ignore: unsafe_variance
final ShouldRebuild<S>? shouldRebuild;