roundedStart method

Widget roundedStart({
  1. double radius = 6.0,
})

Applies border-radius only to the start (left) side, matching .rounded-start.

Implementation

Widget roundedStart({double radius = 6.0}) {
  return ClipRRect(
    borderRadius: BorderRadius.horizontal(
      left: Radius.circular(radius),
    ),
    child: this,
  );
}