crossFades property

bool get crossFades

Whether both sides exist but render different content.

Implementation

bool get crossFades {
  final from = fromItem;
  final to = toItem;
  return from != null &&
      to != null &&
      !_sameContent(from.content, to.content);
}