canReuseDOM method

bool canReuseDOM(
  1. ContentView other
)

Check if this view can reuse another view's DOM.

Implementation

bool canReuseDOM(ContentView other) {
  return runtimeType == other.runtimeType &&
      !((flags | other.flags) & ViewFlag.composition != 0);
}