In flutter, I can change the shape of a RaisedButton to rounded corners by using shape: RoundedRectangleBorder() which defived from OutlinedB
RaisedButton
shape: RoundedRectangleBorder()
OutlinedB