shouldRebuild method

  1. @override
bool shouldRebuild(
  1. covariant CircleListChildBuilderDelegate oldDelegate
)
override

Called to check whether this and the old delegate are actually 'different', so that the caller can decide to rebuild or not.

Implementation

@override
bool shouldRebuild(covariant CircleListChildBuilderDelegate oldDelegate) {
  return builder != oldDelegate.builder ||
      childCount != oldDelegate.childCount;
}