withBrightness method

OAuthProviderButtonStyle withBrightness(
  1. Brightness brightness
)
inherited

Implementation

OAuthProviderButtonStyle withBrightness(Brightness brightness) {
  return OAuthProviderButtonStyle(
    iconSrc: iconSrc.getValue(brightness),
    backgroundColor: backgroundColor.getValue(brightness),
    color: color.getValue(brightness),
    borderColor: borderColor.getValue(brightness),
  );
}