roundedRect static method

RoundedRectangleBorder roundedRect({
  1. double radius = 12,
})

Rounded rectangle with customizable corner radius.

Implementation

static RoundedRectangleBorder roundedRect({double radius = 12}) {
  return RoundedRectangleBorder(borderRadius: BorderRadius.circular(radius));
}