defaultCollapsed property

bool? get defaultCollapsed
inherited

Controls if the Payment Element renders in a collapsed state (where no payment method is selected by default). When you leave this `undefined``, Stripe renders the experience that it determines will have the best conversion.

Implementation

PaymentElementLayoutType get type;/// Controls if the Payment Element renders in a collapsed state
/// (where no payment method is selected by default).
/// When you leave this `undefined``,
/// Stripe renders the experience that it determines
/// will have the best conversion.
bool? get defaultCollapsed;