CustomClipper
class CircleClipper extends CustomClipper<Path> { @override Path getClip(Size size) { var path = Path(); path.lineTo(0, size.height - 80); path.quadraticBezierTo( size.width / 2, size.height, size.width, size.height - 80); path.lineTo(size.width, 0); path.close(); return path; } @override bool shouldReclip(covariant CustomClipper<Path> oldClipper) { return true; } }
관련 문서
Plugin Backlinks: 아무 것도 없습니다.