ExperimentalCard
class ExperimentalCard(content: Component, cardBackgroundDrawable: Drawable? = null, cardBackgroundTransitionKey: String? = null, @ColorInt cardBackgroundColor: Int = Color.WHITE, cardBackgroundColorDv: DynamicValue<Int>? = null, @ColorInt clippingColor: Int = UNSET_CLIPPING, @ColorInt shadowStartColor: Int = DEFAULT_SHADOW_START_COLOR, @ColorInt shadowEndColor: Int = DEFAULT_SHADOW_END_COLOR, cornerRadius: Float = UNSET_CORNER_RADIUS, elevation: Float = UNSET_ELEVATION, shadowTopOverride: Float = CardShadowDrawable.UNDEFINED, shadowBottomOverride: Float = CardShadowDrawable.UNDEFINED, shadowLeftOverride: Float = CardShadowDrawable.UNDEFINED, shadowRightOverride: Float = CardShadowDrawable.UNDEFINED, transparencyEnabled: Boolean = false, disableClipTopLeft: Boolean = false, disableClipTopRight: Boolean = false, disableClipBottomLeft: Boolean = false, disableClipBottomRight: Boolean = false) : KComponent
A component that renders a given component into a card border with shadow.
Constructors
Link copied to clipboard
constructor(content: Component, cardBackgroundDrawable: Drawable? = null, cardBackgroundTransitionKey: String? = null, @ColorInt cardBackgroundColor: Int = Color.WHITE, cardBackgroundColorDv: DynamicValue<Int>? = null, @ColorInt clippingColor: Int = UNSET_CLIPPING, @ColorInt shadowStartColor: Int = DEFAULT_SHADOW_START_COLOR, @ColorInt shadowEndColor: Int = DEFAULT_SHADOW_END_COLOR, cornerRadius: Float = UNSET_CORNER_RADIUS, elevation: Float = UNSET_ELEVATION, shadowTopOverride: Float = CardShadowDrawable.UNDEFINED, shadowBottomOverride: Float = CardShadowDrawable.UNDEFINED, shadowLeftOverride: Float = CardShadowDrawable.UNDEFINED, shadowRightOverride: Float = CardShadowDrawable.UNDEFINED, transparencyEnabled: Boolean = false, disableClipTopLeft: Boolean = false, disableClipTopRight: Boolean = false, disableClipBottomLeft: Boolean = false, disableClipBottomRight: Boolean = false)
Functions
Link 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
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override fun resolveDeferred(calculationContext: CalculationContext, componentContext: ComponentContext, parentContext: ComponentContext): ComponentResolveResult
Link copied to clipboard
Link copied to clipboard