Closed AnasElbattra closed 8 months ago
Use both contentBuilder
and actionsBuilder
arguments of showRateDialog()
or just display your custom dialog 🙂
Use both
contentBuilder
andactionsBuilder
arguments ofshowRateDialog()
or just display your custom dialog 🙂
@Skyost , How can I use the function for the three button when I use actionsBuilder
It works like every other builder in Flutter, except that you have to return a list of widgets (TextButton
s for instance). See the default implementation : https://github.com/Skyost/RateMyApp/blob/master/lib/src/dialogs.dart#L96.
It works like every other builder in Flutter, except that you have to return a list of widgets (
TextButton
s for instance). See the default implementation : https://github.com/Skyost/RateMyApp/blob/master/lib/src/dialogs.dart#L96.
@Skyost Nice, I need example to implement these (rate-later-no) correctly when I press on the button
Just extend the base classes (RateMyAppLaterButton
for example) and override the build
method to return your custom widget. You'll then be able to use onButtonClicked
directly from your widget.
Thank you for your help
Is your feature request related to a problem? Please describe. I need to customize the UI for the rate dialog but it is impossible
Describe the solution you'd like 1- I need to change the color of each button separately 2- I need a bool variable if it's true the action button will wrap with the
Wrap
widget with some edits in the Wrap widget like spacing and alignment 3- add an icon in the dialog