shouldRebuild method

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