to Change Border Color of ElevatedButton in Flutter ElevatedButton has style Property so we can use the styleFrom method should be used to change the default style of the elevated button. We can change the border color using BorderSide class .
Read moreHow do I put a border on my elevated button?
To add Border to ElevatedButton so we can use ElevatedButton. styleFrom’s side property which requires BorderSide . You can simply give side to BorderSide(color: Colors. red, width: 5).
Read more