Is there any way that i can implement to curve the moving line on edges ? Implementing in Flutter
My code as of now: class RoundedRectanglePainter extends CustomPainter { final Color strokeColorGradientStart; final Color strokeColorGradientEnd; final double strokeWidth; final double borderRadius; final Color fillColorGradientStart; final Color fillColorGradientEnd; final Animation<double> animation; RoundedRectanglePainter({ required this.strokeColorGradientStart, required this.strokeColorGradientEnd, required this.strokeWidth, required this.borderRadius,…