Gradient Button
fun GradientButton(text: String, modifier: Modifier = Modifier, gradientColors: List<Color> = listOf(Color(0xFF4CAF50), Color(0xFF81C784)), textColor: Color = Color.White, maxWidth: Dp = 120.dp, onClick: () -> Unit)
A gradient button with press animation.
Parameters
text
The label for the button.
gradient Colors
Colors to use for horizontal gradient background.
text Color
Color of the text.
max Width
Maximum width of the button.
on Click
Action to perform when the button is clicked.