shouldRebuild property

bool Function(T previous, T current)? shouldRebuild
final

Optional callback to determine if the widget should rebuild.

Implementation

final bool Function(T previous, T current)? shouldRebuild;