hasTransformWhere method

WidgetMatcher<Container> hasTransformWhere(
  1. MatchProp<Matrix4> match
)

Expects that transform of Container matches the condition in match.

Example usage:

spot<Container>().existsOnce().hasTransformWhere((it) => it.equals(Matrix4.identity()));

Implementation

WidgetMatcher<Container> hasTransformWhere(MatchProp<Matrix4> match) {
  return hasDiagnosticProp<Matrix4>('transform', match);
}