updateShouldNotify method

  1. @override
bool updateShouldNotify(
  1. covariant CarouselViewTheme oldWidget
)
override

Returns true if the data fields of the two themes are different.

Implementation

@override
bool updateShouldNotify(CarouselViewTheme oldWidget) => data != oldWidget.data;