8000 GitHub - Oleksandr32/flutter-alert: A Flutter plugin for showing native alert dialog in IOS and Toast messages in Android.
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Oleksandr32/flutter-alert

< 8000 button type="button" class="prc-Button-ButtonBase-c50BI" data-loading="false" data-no-visuals="true" data-size="medium" data-variant="default" aria-describedby=":Rr5ab:-loading-announcement">Go to file

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

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

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  
0