Wrap( spacing: 20, // to apply margin in the main axis of the wrap runSpacing: 20, // to apply margin in the cross axis of the wrap children: <Widget>[ Text('child 1'), Text('child 2') ] )