borderRadius property

  1. @override
BorderRadius get borderRadius
override

The BorderRadius for this shape.

Used internally to avoid repeated type-checking when applying effects.

Implementation

@override
BorderRadius get borderRadius => BorderRadius.circular(radius);