Skip to content

Instantly share code, notes, and snippets.

@shubie
Created December 12, 2019 17:58
Show Gist options
  • Save shubie/6c2f6373846bf3cd4e8954367acc2df3 to your computer and use it in GitHub Desktop.
Save shubie/6c2f6373846bf3cd4e8954367acc2df3 to your computer and use it in GitHub Desktop.
RaisedButton blueButton(String label, Function fun) {
return RaisedButton(
onPressed: fun,
textColor: Colors.white,
color: Color(0xfff063057),
padding: const EdgeInsets.all(15.0),
child: Text(label),
shape: RoundedRectangleBorder(
borderRadius: BorderRadius.circular(10.0),
),
);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment