Skip to content

Instantly share code, notes, and snippets.

@nb312
Created February 15, 2019 14:13
Show Gist options
  • Save nb312/694ff13b4eab25b29b5a66efaa05b90a to your computer and use it in GitHub Desktop.
Save nb312/694ff13b4eab25b29b5a66efaa05b90a to your computer and use it in GitHub Desktop.
Widget _snackDuration() => SnackBar(
content: Text(
"You have a message!",
style: TextStyle(
color: TEXT_BLACK,
fontSize: 20,
),
textAlign: TextAlign.center,
),
backgroundColor: BLUE_LIGHT,
duration: Duration(milliseconds: 100),
);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment