Skip to content

Instantly share code, notes, and snippets.

@flutter-clutter
Created June 17, 2020 07:34
Show Gist options
  • Save flutter-clutter/ceede42c30098ccadbe4a4efc1dee078 to your computer and use it in GitHub Desktop.
Save flutter-clutter/ceede42c30098ccadbe4a4efc1dee078 to your computer and use it in GitHub Desktop.
void showLoadingIndicator([String text]) {
showDialog(
context: context,
builder: (BuildContext context) {
return AlertDialog(
content: LoadingIndicator(
text: text
),
);
},
);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment