isFirstChildStyleMatch method

bool isFirstChildStyleMatch(
  1. RenderStyleMatcher matcher
)
inherited

Implementation

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