shouldRebuild method

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