Ir al contenido

TryYourSize.create()

Esta página aún no está disponible en tu idioma.

Functiontryyoursize (Dart)

Creates the client. Throws TryYourSizeException (secret_key_in_app, invalid_key, invalid_app_identifier, invalid_option).

static Future<TryYourSize> create(
String publishableKey, {
Appearance appearance = const Appearance(),
String? locale,
String? embedOrigin,
})
publishableKeyStringObligatorio

Your publishable key.

appearanceAppearanceOpcional= const Appearance()

See Appearance(/reference/flutter/appearance/).

localeString?Opcional

BCP 47 language; default: the device language.

embedOriginString?Opcional

Development only.

final tys = await TryYourSize.create('pk_test_…', appearance: const Appearance(borderRadius: 10), locale: 'es');

¿Te ha resultado útil esta página?