How to add Border to a raised button?

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



<p>You can add Border to a raised button by adding a RoundedRecangleBorder as show in below example.</p> <p>RaisedButton(onPressed: () , child: Text('Label Here', style: TextStyle(color: Colors.white),), color: Colors.transparent, shape: RoundedRectangleBorder(side: BorderSide(color: Colors.white)), ),</p> <p>Thanks,</p> <p>Srikanth</p>


Tags: How to add Border to a raised button?








0 Comments
Login to comment.
Recent Comments