updateShouldSync method

  1. @protected
bool updateShouldSync(
  1. covariant W oldWidget
)

Whether an update from oldWidget needs a sync. Override it to skip rebuilding objects that did not change.

Implementation

@protected
bool updateShouldSync(covariant W oldWidget) => true;