How to add Border to a raised button?

This Article is posted by seven.srikanth 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.

Recent Articles

How to deploy flutter web site on GitHub using peanut

Posted by nikhilchaudhary12155 on 13 Oct 2019 Article

AnimatedPositioned Widget Example in Flutter

Posted by seven.srikanth on 10 Oct 2019 Article

Flutter Open-Source and directory lists

Posted by nishantkotatech on 09 Oct 2019 Article

Flutter Travelling Couple Leading Page - Flutter Web Series 3

Posted by nikhilchaudhary12155 on 05 Oct 2019 Article

© 2018 - Fluttercentral | Email to me -