RatelHub / rflutter_alert

RFlutter Alert is super customizable and easy-to-use alert / popup dialog library for Flutter. You may create reusable alert styles or add buttons as much as you want with ease.
https://ratel.com.tr
MIT License
386 stars 117 forks source link

Call without button!? #73

Closed Deepankar1993 closed 3 years ago

Deepankar1993 commented 4 years ago

Is it possible to call the alert without button? As I wanted to get alert after api call on error or success I am using provider.

ibrahimdevs commented 3 years ago

@Deepankar1993 yes it is possible, simply you can send buttons parameter as empty array. Here is the example:

    Alert(
      context: context,
      title: "RFLUTTER ALERT",
      desc: "Flutter is more awesome with RFlutter Alert.",
      buttons: [],
    ).show();