FloatingActionButton
fun SMC.FloatingActionButton(onClick: () -> Unit, icon: @Composable () -> Unit, text: @Composable () -> Unit, modifier: Modifier = Modifier)
Spend Manager Styled Floating Action Button. Generic implementation that takes icon and text composables.
Parameters
onClick
: Click listener for the button
icon
: Icon composable to be displayed on the button
text
: Text composable to be displayed on the button
modifier
: Modifier for the button
fun SMC.FloatingActionButton(onClick: () -> Unit, @DrawableRes icon: Int, @StringRes text: Int, modifier: Modifier = Modifier)
Spend Manager Styled Floating Action Button. Specific implementation that takes icon and text resources.
Parameters
onClick
: Click listener for the button
icon
: Icon resource to be displayed on the button
text
: Text resource to be displayed on the button
modifier
: Modifier for the button