Common Button Properties
constructor(googleIconColor: Color = Color.Unspecified, googleButtonText: GoogleText = GoogleText.Resource(R.string.button_login_google), googleButtonIconContentDescription: GoogleText = GoogleText.Resource(
R.string.default_icon_google_content_description
), googleButtonTextSize: Int = 14, googleIconSize: Int = 18, spaceBetweenIconAndText: Int = 8, textButtonColor: Color = Color.Unspecified, googleIcon: GoogleIcon = GoogleIcon.WithResource(R.drawable.ic_google_button))
Parameters
google Icon Color
Color color of the icon. Default is Color.Unspecified.
google Button Text
Int resource of string. Default is R.string.button_login_google.
google Button Text Size
Int size of text. Default is 14.sp.
google Icon Size
Int. size of the icon. Default is 18.dp.
space Between Icon And Text
Int space between the icon and text. Default is 8.dp.
text Button Color
Color color of the text. Default is Color.Unspecified.
google Icon
Int resource of icon if you need use other. Default is R.drawable.ic_google_button.