Skip to content

Instantly share code, notes, and snippets.

@shubie
Created January 24, 2019 17:13
Show Gist options
  • Save shubie/bb9e8100352d121b5115378ce379ca0e to your computer and use it in GitHub Desktop.
Save shubie/bb9e8100352d121b5115378ce379ca0e to your computer and use it in GitHub Desktop.
Positioned(
bottom: MediaQuery.of(context).size.height * .37,
left: MediaQuery.of(context).size.width * .05,
child: RaisedButton(
// padding: EdgeInsets.all(20),
padding: EdgeInsets.symmetric(
vertical: 18.0,
horizontal: 38.0,
),
color: Color(0xFFEE112D),
onPressed: () {},
shape: new RoundedRectangleBorder(
borderRadius: new BorderRadius.circular(25.0)),
child: Text(
"Send",
style: TextStyle(
fontSize: 18.0,
color: Colors.white,
fontWeight: FontWeight.bold,
),
)),
),
Positioned(
bottom: MediaQuery.of(context).size.height * .37,
right: MediaQuery.of(context).size.width * .05,
child: RaisedButton(
padding: EdgeInsets.symmetric(
vertical: 18.0,
horizontal: 30.0,
),
color: Color(0xFFEE112D),
onPressed: () {},
shape: new RoundedRectangleBorder(
borderRadius: new BorderRadius.circular(25.0)),
child: Text(
"Receive",
style: TextStyle(
fontSize: 18.0,
color: Colors.white,
fontWeight: FontWeight.bold,
),
)),
),
Positioned(
bottom: MediaQuery.of(context).size.height * .43,
left: MediaQuery.of(context).size.width * .30,
child: RaisedButton(
padding: EdgeInsets.symmetric(
vertical: 18.0,
horizontal: 38.0,
),
color: Color(0xFFEE112D),
onPressed: () {},
shape: new RoundedRectangleBorder(
borderRadius: new BorderRadius.circular(25.0)),
child: Text(
"Exchange",
style: TextStyle(
fontSize: 18.0,
color: Colors.white,
fontWeight: FontWeight.bold,
),
)),
),
Positioned(
bottom: MediaQuery.of(context).size.height * .33,
left: MediaQuery.of(context).size.width * .40,
child: FloatingActionButton(
backgroundColor: Colors.white,
onPressed: null,
child: Icon(
Icons.close,
color: Colors.black,
),
),
),
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment