toOneTapStyle method
Converts this style to the corresponding OneTapStyle.
Implementation
OneTapStyle toOneTapStyle() {
switch (type) {
case OneTapWithOAuthsType.light:
return OneTapStyle(
type: OneTapType.light, cornersStyle: cornersStyle, size: size);
case OneTapWithOAuthsType.dark:
return OneTapStyle(
type: OneTapType.dark, cornersStyle: cornersStyle, size: size);
case OneTapWithOAuthsType.system:
return OneTapStyle(
type: OneTapType.system, cornersStyle: cornersStyle, size: size);
}
}