isPreviousSiblingStyleMatch method

bool isPreviousSiblingStyleMatch(
  1. RenderStyleMatcher matcher
)
inherited

Implementation

@pragma('vm:prefer-inline')
bool isPreviousSiblingStyleMatch(RenderStyleMatcher matcher) {
  Node? previousSibling = target.attachedRenderPreviousSibling;
  if (previousSibling is Element) {
    return matcher(previousSibling.renderStyle);
  }
  return false;
}