Pules Button Animation with SwiftUI
PulseAnimation
Pulse Button Animation with SwiftUI.
How to use?
It is very simple, you can use PJRPulseButton file in any class just like PJRPulseButton()
. It will craeate a default button animation with plus button image.
You can customize it with different colors, image, animation duration, button size and number of outer circles.
Example: PJRPulseButton(color: Color.red, systemImageName: "heart.circle.fill", buttonWidth: 48, numberOfOuterCircles: 2, animationDuration: 1)