alert 2.0.1 copy "alert: ^2.0.1" to clipboard
alert: ^2.0.1 copied to clipboard

A Flutter plugin for showing native alert dialog in IOS and Toast messages in Android.

flutter-alert #

A Flutter plugin for showing native alert dialog in IOS and Toast messages in Android.

Usage #

Just one line:

Alert(message: 'Test').show()

Also for Android, alert has an optional boolean param shortDuration:

Alert(message: 'Test', shortDuration: true).show()

true is equivalent of Toast.LENGTH_SHORT false is equivalent of Toast.LENGTH_LONG

Param shortDuration is true by default.

Examples #

Android IOS
18
likes
150
points
126
downloads

Publisher

unverified uploader

Weekly Downloads

A Flutter plugin for showing native alert dialog in IOS and Toast messages in Android.

Repository (GitHub)

Documentation

API reference

License

MIT (license)

Dependencies

flutter

More

Packages that depend on alert

Packages that implement alert