Play Flutter Quiz. Click here .

How to add Border to a raised button?

This Article is posted by at 25-12-2018 21:04:49

You can add Border to a raised button by adding a RoundedRecangleBorder as show in below example.

RaisedButton(onPressed: () {}, child: Text('Label Here', style: TextStyle(color: Colors.white),),
color: Colors.transparent,
shape: RoundedRectangleBorder(side: BorderSide(color: Colors.white)),


Tags: How to add Border to a raised button?

Login to comment.

Recent Comments

Be the first to Comment. You can ask a Query or Share your toughts or Just say thanks.

© 2018 - Fluttercentral | Email to me -

Terms | Privacy