Skip to content

Instantly share code, notes, and snippets.

@Nash0x7E2
Last active May 13, 2019 18:31
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 Nash0x7E2/426c6549fb34d5b9c06080f9ed608279 to your computer and use it in GitHub Desktop.
Save Nash0x7E2/426c6549fb34d5b9c06080f9ed608279 to your computer and use it in GitHub Desktop.
class ButtonRow extends StatelessWidget {
const ButtonRow({Key key, this.size = MainAxisSize.min}) : super(key: key);
final MainAxisSize size;
@override
Widget build(BuildContext context) {
return Row(
mainAxisSize: size,
mainAxisAlignment: MainAxisAlignment.spaceEvenly,
children: <Widget>[
FlatButton(
onPressed: () {},
color: Color(0XFFFBEFD9),
child: Center(
child: Image.asset(
"social/facebook.png",
height: 15.0,
),
),
),
FlatButton(
onPressed: () {},
color: Color(0XFFFBEFD9),
child: Center(
child: Image.asset(
"social/twitter.png",
height: 15.0,
),
),
),
FlatButton(
onPressed: () {},
color: Color(0XFFFBEFD9),
child: Center(
child: Image.asset(
"social/instagram.png",
height: 15.0,
),
),
),
],
);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment