shouldRebuild property

(bool Function(SnapState oldSnap, SnapState newSnap)?) shouldRebuild
final

Whether to rebuild the widget after a state emits notification.

If the OnReactive listens to many states, the exposed snapState is that of the state that emits the notification

Implementation

final bool Function(SnapState<dynamic> oldSnap, SnapState<dynamic> newSnap)?
    shouldRebuild;