Ir al contenido

Appearance

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

Typetryyoursize (Dart)

Like the web SDK’s (and Stripe’s) Appearance API. Unset values inherit the app’s.

themeAppearanceThemeObligatorio
colorPrimaryColor?Obligatorio

Buttons, the tape line, the "connected" dot.

colorBackgroundColor?Obligatorio
colorTextColor?Obligatorio
fontFamilyString?Obligatorio

A CSS font-family for the window (e.g. "Inter, sans-serif").

borderRadiusdouble?Obligatorio

Corner radius in logical pixels (0–32).

fontsList<String>Obligatorio

Google Fonts stylesheet URLs for the window.

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

¿Te ha resultado útil esta página?