shouldRebuild method

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

Implementation

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