I am trying to achieve a clipper as shown in the below image. I am not getting what i have been expecting can anyone help me?
CodePudding user response:
For this Clipper as shown in your image, you can do it like this :
Transform.rotate(
angle: -5,
child: Container(
decoration: BoxDecoration(
borderRadius: BorderRadius.circular(20),
color: Colors.black,
),
height: 100,
width: 100,
),
),