updateShouldNotify method

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

Whether the framework should notify widgets that inherit from this widget.

Implementation

@override
bool updateShouldNotify(SlidableData oldWidget) =>
    (oldWidget.actionType != actionType) ||
    (oldWidget.renderingMode != renderingMode) ||
    (oldWidget.totalActionsExtent != totalActionsExtent) ||
    (oldWidget.dismissThreshold != dismissThreshold) ||
    (oldWidget.dismissible != dismissible) ||
    (oldWidget.actionDelegate != actionDelegate) ||
    (oldWidget.overallMoveAnimation != overallMoveAnimation) ||
    (oldWidget.actionsMoveAnimation != actionsMoveAnimation) ||
    (oldWidget.dismissAnimation != dismissAnimation) ||
    (oldWidget.slidable != slidable) ||
    (oldWidget.actionExtentRatio != actionExtentRatio) ||
    (oldWidget.direction != direction);