I found How to create a circle icon button in Flutter? which has this code:
RawMaterialButton(
onPressed: () {},
elevation: 2.0,
fillColor: Colors.white,
child: Icon(
Icons.pause,
size: 35.0,
),
padding: EdgeInsets.all(15.0),
shape: CircleBorder(),
)
which works fine, but I can't insert a border with color. Looking on https://api.flutter.dev/flutter/painting/CircleBorder-class.html I cannot find any ways to insert a border.
What's the simplest way to insert a border in a circular button in Flutter?