Skyost / RateMyApp

This plugin allows to kindly ask users to rate your app if custom conditions are met (eg. install time, number of launches, etc...).
https://pub.dev/packages/rate_my_app
MIT License
265 stars 104 forks source link

Icon in dialog? #99

Closed thecreativedg closed 3 years ago

thecreativedg commented 3 years ago

Is it possible to have icon of the app in dialog like this? thnx

alert_with_icon_2.png

Skyost commented 3 years ago

Well erm nop. But if you really want a custom icon, you can just show a custom dialog with

actions: [
  RateMyAppRateButton(
    rateMyApp,
    text: 'Rate',
    validator: () => RateMyAppDialogButton.rate,
  ),
  RateMyAppLaterButton(
    rateMyApp,
    text: 'Later',
    validator: () => RateMyAppDialogButton.later,
  ),
  RateMyAppNoButton(
    rateMyApp,
    text: 'No',
    validator: () => RateMyAppDialogButton.no,
  ),
]

instead of calling rateMyApp.showRateDialog(). I think something like that will work.

thecreativedg commented 3 years ago

great, thank you!

Skyost commented 3 years ago

You're welcome :wink: