curvedBox method

ClipRRect curvedBox([
  1. double radius = 8
])

Implementation

ClipRRect curvedBox([double radius = 8]) => ClipRRect(
    borderRadius: BorderRadius.circular(radius),
    clipBehavior: Clip.hardEdge,
    child: this);