Created
October 5, 2022 11:42
-
-
Save cp-radhika-s/03acd6925530a3dac92e797f19124d85 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@Composable | |
fun NoRippleEffect1() { | |
Button( | |
onClick = { | |
//Clicked | |
}, | |
interactionSource = remember { NoRippleInteractionSource() }, | |
shape = RoundedCornerShape(12.dp), | |
contentPadding = PaddingValues(16.dp), | |
) { | |
Text(text = "Button without Ripple Effect") | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment