Floating Action Button
fun FloatingActionButton(onClick: () -> Unit, modifier: Modifier = Modifier, shape: Shape = CircleShape, containerColor: Color = MiuixTheme.colorScheme.primary, shadowElevation: Dp = FloatingActionButtonDefaults.ShadowElevation, minWidth: Dp = FloatingActionButtonDefaults.MinWidth, minHeight: Dp = FloatingActionButtonDefaults.MinHeight, content: @Composable () -> Unit)
A FloatingActionButton component with Miuix style.
Parameters
on Click
The callback when the FloatingActionButton is clicked.
modifier
The modifier to be applied to the FloatingActionButton.
shape
The shape of the FloatingActionButton.
container Color
The color of the FloatingActionButton.
shadow Elevation
The shadow elevation of the FloatingActionButton.
min Width
The minimum width of the FloatingActionButton.
min Height
The minimum height of the FloatingActionButton.
content
The Composable content of the FloatingActionButton.