Flutter Button Example

The most common and simple way is to use a TextButton. Just pass whatever you want showing as the text under child. Use onPressed to have a function called upon button click: So have a border around the button you can use the style property like this: