isLastChildStyleMatch method

bool isLastChildStyleMatch(
  1. RenderStyleMatcher matcher
)
inherited

Implementation

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