give row margin in flutter code example
Example 1: flutter how to space buttons evenly in a row
new Container(
alignment: FractionalOffset.center,
child: new Row(
mainAxisAlignment: MainAxisAlignment.spaceEvenly,
children: <Widget>[
new FlatButton(
child: new Text('Don\'t have an account?', style: new TextStyle(color: Color(0xFF2E3233))),
),
new FlatButton(
child: new Text('Register.', style: new TextStyle(color: Color(0xFF84A2AF), fontWeight: FontWeight.bold),),
onPressed: moveToRegister,
)
],
),
),
Example 2: column each child padding
Wrap(
spacing: 20,
runSpacing: 20,
children: <Widget>[
Text('child 1'),
Text('child 2')
]
)