SwipeExpansionAnimationTimingParameters
public struct SwipeExpansionAnimationTimingParameters
Specifies timing information for the overall expansion animation.
-
Returns a
SwipeExpansionAnimationTimingParameters
instance with default animation parameters.Declaration
Swift
public static var `default`: SwipeExpansionAnimationTimingParameters
-
The duration of the expansion animation.
Declaration
Swift
public var duration: Double
-
The delay before starting the expansion animation.
Declaration
Swift
public var delay: Double
-
Contructs a new
SwipeExpansionAnimationTimingParameters
instance.Declaration
Swift
public init(duration: Double = 0.6, delay: Double = 0)
Parameters
duration
The duration of the animation.
delay
The delay before starting the expansion animation.
Return Value
The new
SwipeExpansionAnimationTimingParameters
instance.