drawRRect method

  1. @override
void drawRRect(
  1. RRect rrect,
  2. Paint paint
)
override

Draws a rounded rectangle with the given Paint. Whether the rectangle is filled or stroked (or both) is controlled by Paint.style.

Implementation

@override
void drawRRect(RRect rrect, Paint paint) {
  invocations.add(
    RecordedInvocation(
      _MethodCall(#drawRRect, <dynamic>[rrect, Paint.from(paint)]),
      stack: StackTrace.current,
    ),
  );
}