init(_:)

Create a HoverEffect that contains the specified custom hover effect.

Declaration

init<E>(_ effect: E) where E : CustomHoverEffect