rendersOnPhysicalModel function

Matcher rendersOnPhysicalModel({
  1. BoxShape? shape,
  2. BorderRadius? borderRadius,
  3. double? elevation,
})

Asserts that a Finder locates a single object whose root RenderObject is a RenderPhysicalModel or a RenderPhysicalShape.

Implementation

Matcher rendersOnPhysicalModel({
  BoxShape? shape,
  BorderRadius? borderRadius,
  double? elevation,
}) {
  return _RendersOnPhysicalModel(
    shape: shape,
    borderRadius: borderRadius,
    elevation: elevation,
  );
}