Google Sign In Button
fun GoogleSignInButton(onClick: () -> Unit, modifier: Modifier = Modifier, buttonType: ButtonType = Elevated(), enabled: Boolean = true, showIcon: Boolean = true)
GoogleSignButton.
It is the implementation without using Google services, you will have to do all the logic on your own
Author
Joyner
Parameters
modifier
modifier if you need to add.
button Type
type of button you need. Example: Elevated, Filled, FilledTonal, Outlined, Text, Fab, SmallFab, LargeFab, FabExtended, IconFilled, IconFilledTonal, IconOutlined, IconStandard.
enabled
if you need the button to be enabled or disabled.
show Icon
if you need the icon button to be show or hide.
on Click
event to do what you need. Is mandatory.