Skip to content

Instantly share code, notes, and snippets.

@vijayinyoutube
Created May 30, 2020 09:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save vijayinyoutube/e8326d3ac7bf7c23ed98658afc7280d8 to your computer and use it in GitHub Desktop.
Save vijayinyoutube/e8326d3ac7bf7c23ed98658afc7280d8 to your computer and use it in GitHub Desktop.
Container(
decoration: BoxDecoration(
borderRadius: BorderRadius.circular(10),
color: Colors.blue),
child: FlatButton(
onPressed: () {
setState(() {
pressed = true;
animationValue = animationValue + 10;
});
},
child: Text(
"Refresh",
style: TextStyle(fontSize: 25, color: Colors.white),
),
),
),
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment