How to add Border to a raised button?

This Article is posted by seven.srikanth at 12/25/2018 9:04:49 PM



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)),
),
Thanks, Srikanth

Tags: How to add Border to a raised button?








0 Comments
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 - seven.srikanth@gmail.com