Solved

Close Button in Flutter Paywalls

  • 2 March 2024
  • 5 replies
  • 103 views

Userlevel 1
Badge +1

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?

icon

Best answer by ashxbl 3 March 2024, 19:13

View original

This post has been closed for comments

5 replies

Userlevel 1
Badge +1

Or at least you could make it optional.

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

 

Userlevel 1
Badge +1

@ashxbl 

 

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

Badge +1

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

Userlevel 1
Badge +1

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