OneTapStyle

sealed class OneTapStyle

The style for OneTap widget.

Parameters

cornersStyle

corner radius style.

sizeStyle

denotes the size of the widget.

elevationStyle

elevation of the button.

vkidButtonStyle

style for the button.

alternateAccountButtonStyle

style for the alternate account button.

Inheritors

Types

Link copied to clipboard
class Dark(cornersStyle: OneTapButtonCornersStyle = OneTapButtonCornersStyle.Default, sizeStyle: OneTapButtonSizeStyle = OneTapButtonSizeStyle.DEFAULT, elevationStyle: OneTapButtonElevationStyle = OneTapButtonElevationStyle.Default) : OneTapStyle

Dark version, should be used for the light layout.

Link copied to clipboard
class Icon(cornersStyle: OneTapButtonCornersStyle = OneTapButtonCornersStyle.Default, sizeStyle: OneTapButtonSizeStyle = OneTapButtonSizeStyle.DEFAULT, elevationStyle: OneTapButtonElevationStyle = OneTapButtonElevationStyle.Default) : OneTapStyle

Icon version, can be used for any layout.

Link copied to clipboard
class Light(cornersStyle: OneTapButtonCornersStyle = OneTapButtonCornersStyle.Default, sizeStyle: OneTapButtonSizeStyle = OneTapButtonSizeStyle.DEFAULT, elevationStyle: OneTapButtonElevationStyle = OneTapButtonElevationStyle.Default) : OneTapStyle

Light version, should be used for the dark layout.

Link copied to clipboard
class SecondaryDark(cornersStyle: OneTapButtonCornersStyle = OneTapButtonCornersStyle.Default, sizeStyle: OneTapButtonSizeStyle = OneTapButtonSizeStyle.DEFAULT, elevationStyle: OneTapButtonElevationStyle = OneTapButtonElevationStyle.Default) : OneTapStyle

Dark version with white button, should be used for the light layout.

Link copied to clipboard
class SecondaryLight(cornersStyle: OneTapButtonCornersStyle = OneTapButtonCornersStyle.Default, sizeStyle: OneTapButtonSizeStyle = OneTapButtonSizeStyle.DEFAULT, elevationStyle: OneTapButtonElevationStyle = OneTapButtonElevationStyle.Default) : OneTapStyle

Light version with white button, should be used for the dark layout.

Link copied to clipboard
class TransparentDark(cornersStyle: OneTapButtonCornersStyle = OneTapButtonCornersStyle.Default, sizeStyle: OneTapButtonSizeStyle = OneTapButtonSizeStyle.DEFAULT, elevationStyle: OneTapButtonElevationStyle = OneTapButtonElevationStyle.Default) : OneTapStyle

Dark version with transparent button, should be used for the light layout.

Link copied to clipboard
class TransparentLight(cornersStyle: OneTapButtonCornersStyle = OneTapButtonCornersStyle.Default, sizeStyle: OneTapButtonSizeStyle = OneTapButtonSizeStyle.DEFAULT, elevationStyle: OneTapButtonElevationStyle = OneTapButtonElevationStyle.Default) : OneTapStyle

Light version with transparent button, should be used for the dark layout.