locale property

String? locale
final

The pre-set locale of the button text.

If not set, the browser's default locale or the Google session user's preference is used.

Different users might see different versions of localized buttons, possibly with different sizes.

Implementation

final String? locale;