shouldRebuild method

  1. @override
bool shouldRebuild(
  1. covariant CircleListChildListDelegate 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 CircleListChildListDelegate oldDelegate) {
  return children != oldDelegate.children;
}