Skip to main content
Solved

Close Button in Flutter Paywalls


Forum|alt.badge.img+4

When presenting paywalls using .presentPaywallIfNeeded in Flutter, RevenueCatUI does not include a close button. I've tried it with 5 - Bengal template. Can you please update the Flutter package so that the close button is displayed automatically on the paywall?

Best answer by ashxbl

final paywallResult = await RevenueCatUI.presentPaywall(displayCloseButton: true);

 

View original
Did this post help you find an answer to your question?
This post has been closed for comments

Forum|alt.badge.img+4
  • Member
  • March 2, 2024

Or at least you could make it optional.


Forum|alt.badge.img+2
  • Helper
  • March 3, 2024
final paywallResult = await RevenueCatUI.presentPaywall(displayCloseButton: true);

 


Forum|alt.badge.img+4
  • Member
  • March 3, 2024

@ashxbl 

 

Looks like it is already possible. I used an older package. Thank you!


Forum|alt.badge.img+2
  • Helper
  • March 3, 2024

No worries, was searching myself earlier after app got rejected because of it.


Forum|alt.badge.img+4
  • Member
  • March 3, 2024

By the way it might be a good idea to be able to change the the color of the close button, because depending on the background Image the close button could be barely visible 


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings