Skip to main content
Question

Change close Button Color in Flutter Paywalls

  • January 11, 2026
  • 1 reply
  • 22 views

Forum|alt.badge.img

Can we change the close button color in Flutter
 

 await RevenueCatUI.presentPaywall(displayCloseButton: true);

 

1 reply

guilherme
RevenueCat Staff
Forum|alt.badge.img+6
  • RevenueCat Staff
  • January 14, 2026

Hey ​@nirodha-d474bf - the displayCloseButton parameter is a legacy Paywalls field. If you're using our new Paywalls Editor, that parameter won’t have an impact on the Paywall as you’ll add close buttons directly as components.

So you can just call:

await RevenueCatUI.presentPaywall();

and then configure the close button (including its color) in the dashboard when designing your paywall template, for light or dark mode even.

If you're still on the legacy Paywalls, the close button color follows your existing theme. But I'd recommend moving to the new Paywall Editor approach since that's where all the new features are going and where you’ll have more control over components like those ones.