Package com.stripe.android.ui.core
Types
Link copied to clipboard
This class represents the long value amount to charge and the currency code of the amount.
Link copied to clipboard
Link copied to clipboard
data class PaymentsColors(primary: Color, surface: Color, component: Color, componentBorder: Color, componentDivider: Color, onComponent: Color, subtitle: Color, textCursor: Color, placeholderText: Color, onSurface: Color, appBarIcon: Color, error: Color)
Content copied to clipboard
Link copied to clipboard
data class PaymentsComposeColors(component: Color, colorComponentBorder: Color, colorComponentDivider: Color, subtitle: Color, colorTextCursor: Color, placeholderText: Color, onComponent: Color, material: Colors)
Content copied to clipboard
Link copied to clipboard
data class PaymentsComposeShapes(borderStrokeWidth: Dp, borderStrokeWidthSelected: Dp, material: Shapes)
Content copied to clipboard
Link copied to clipboard
data class PaymentsShapes(cornerRadius: Float, borderStrokeWidth: Float, borderStrokeWidthSelected: Float)
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
data class PaymentsTypography(fontWeightNormal: Int, fontWeightMedium: Int, fontWeightBold: Int, fontSizeMultiplier: Float, xxSmallFontSize: TextUnit, xSmallFontSize: TextUnit, smallFontSize: TextUnit, mediumFontSize: TextUnit, largeFontSize: TextUnit, xLargeFontSize: TextUnit, @FontRes fontFamily: Int?)
Content copied to clipboard
Link copied to clipboard
data class PrimaryButtonModifierCompose(onPrimary: Color, style: TextStyle, height: Dp)
Content copied to clipboard
Functions
Link copied to clipboard
Link copied to clipboard
fun createTextSpanFromTextStyle(text: String?, context: Context, fontSizeDp: Dp, color: Color, @FontRes fontFamily: Int?): SpannableString
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun PrimaryButtonModifier.toComposeModifier(isDark: Boolean): PrimaryButtonModifierCompose
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard