setBorderRadius method

dynamic setBorderRadius(
  1. BorderRadiusGeometry radius
)

Sets the border radius of the view.

Implementation

setBorderRadius(BorderRadiusGeometry radius) {
  return ClipRRect(
      borderRadius: radius,
      child: Align(
        alignment: Alignment.bottomRight,
        child: this,
      ));
}