diff --git a/Sources/FlowStack/FlowStack.swift b/Sources/FlowStack/FlowStack.swift index 1b19c95..a3d9111 100644 --- a/Sources/FlowStack/FlowStack.swift +++ b/Sources/FlowStack/FlowStack.swift @@ -404,6 +404,11 @@ public struct CustomSmoothAnimation { var duration: Double var bounce: Double + public init(duration: Double = 0.24, bounce: Double = 0.2) { + self.duration = duration + self.bounce = bounce + } + static let `default` = CustomSmoothAnimation(duration: 0.24, bounce: 0.2) var animation: Animation {