Skip to content

alert with simple and responsive alert ? or toast ? or dialog

License

Notifications You must be signed in to change notification settings

maxzod/queen_alerts

Repository files navigation

queen_alerts

alert with simple and responsive alert ? or toast ? or dialog ?

Demo

https://maxzod.github.io/queen_alerts/

How To Use

with thw QueenAlert class you get access to

  • prompt object which can alert with
    • danger
    • warning
    • info
    • custom (alert with your own content)
    • builder (builder your own alert widget )
  • toast object which can
    • text() => show toast with Text widget
    • withIcon() => show toast with Text and Icon widget
    • builder() => build your entire toast widget

see example tab for more info