i want to bend the right hand side on a container
import 'package:flutter/material.dart';
class DiagonalClipper extends CustomClipper<Path> {
@override
Path getClip(Size size) {
var path = Path();
path.lineTo(0, 20); // Move 20 down from the top-left corner
path.quadraticBezierTo(size.width * 0.5, 0, size.width, 0); // Curve to the top-right corner
path.lineTo(size.width, size.height); // Right edge
path.lineTo(0, size.height); // Bottom edge
path.close(); // Close the path
return path;
}
@override
bool shouldReclip(CustomClipper<Path> oldClipper) => false;
}