We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Swift UI allows to add opacity and animation effects into the button style:
struct DemoButtonStyle: SwiftUI.ButtonStyle { func makeBody(configuration: SwiftUI.ButtonStyle.Configuration) -> some View { configuration.label .opacity(configuration.isPressed ? 0.5 : 1) .scaleEffect(configuration.isPressed ? 0.5 : 1) .animation(.easeOut(duration: 0.2), value: configuration.isPressed) } }
However this possibility seems to be missing in Kaluga SwiftUI
The text was updated successfully, but these errors were encountered:
dasdranagon
Daeda88
No branches or pull requests
Swift UI allows to add opacity and animation effects into the button style:
However this possibility seems to be missing in Kaluga SwiftUI
The text was updated successfully, but these errors were encountered: