We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 558d418 commit 02d1de1Copy full SHA for 02d1de1
1 file changed
Sources/FlowStack/FlowStack.swift
@@ -404,6 +404,11 @@ public struct CustomSmoothAnimation {
404
var duration: Double
405
var bounce: Double
406
407
+ public init(duration: Double = 0.24, bounce: Double = 0.2) {
408
+ self.duration = duration
409
+ self.bounce = bounce
410
+ }
411
+
412
static let `default` = CustomSmoothAnimation(duration: 0.24, bounce: 0.2)
413
414
var animation: Animation {
0 commit comments