Skip to content

Allow Customization of Cursor Color in Native PaymentSheet (initPaymentSheet) #2165

Open
@guiroco

Description

@guiroco

Description:

I'm using the flutter_stripe package and relying on initPaymentSheet to present the native Payment Sheet UI. While the current theming options (such as colors, shapes, and fonts) are helpful, I noticed that it's not possible to customize the cursor color inside the Payment Sheet’s input fields (e.g., card number, expiry).


Why This Matters

In apps with custom themes (e.g., light text on dark background, or brand-specific colors), the default cursor color may clash with the app's styling or hinder accessibility. Supporting cursor color customization would improve UI consistency and user experience.


Suggested API Design

It would be ideal to expose a parameter in PaymentSheetAppearance, for example:

cursorColor: Color

Metadata

Metadata

Assignees

No one assigned

    Labels

    AndroidIssue related to Android native bindingsStripe sdkIssues related to the Stripe sdkenhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions