Skip to content

lucasmatoscc/ShowMensagem

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 

Repository files navigation

ShowMensagem

Mostrar alert no flutter

Para mostrar o alert no flutter é só fazer a seguinte chamada:

showMessage("texto", "conteudo");

showMessage (String text, String content) {
    var alert = new AlertDialog(
      title: new Text(text), content: new Text(content),);
    showDialog(
      context: context,
      builder: (BuildContext context) {
        // return object of type Dialog
        return alert;
      },
    );
  }

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published