Created
June 17, 2020 07:34
-
-
Save flutter-clutter/ceede42c30098ccadbe4a4efc1dee078 to your computer and use it in GitHub Desktop.
Showing a progress indicator, used here: https://www.flutterclutter.dev/flutter/tutorials/displaying-a-prorgess-indicator/2020/37/
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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