Container(
width: 100,
height: 100,
decoration: BoxDecoration(
border: Border.all(width: 3),
shape: BoxShape.circle,
// You can use like this way or like the below line
//borderRadius: new BorderRadius.circular(30.0),
color: Colors.amber,
),
child:Column(
crossAxisAlignment: CrossAxisAlignment.center,
mainAxisAlignment: MainAxisAlignment.center,
children: <Widget>[
Text('ABC'),
Text('XYZ'),
Text('LOL'),
],
),
),
To achieve this in general I would recommend using a Column and then 3 Containers, one for each Circle, and something that draws the in-between part.
Custom widget in Flutter is built for Widget Reusability in App. Custom widgets in Flutter can be of many types Widgets are built to make your code clean and Shorter. It makes the Customization of Code Simple and Easy
2
Answers
Try using BoxShape.circle,
To achieve this in general I would recommend using a Column and then 3 Containers, one for each Circle, and something that draws the in-between part.
Custom widget in Flutter is built for Widget Reusability in App. Custom widgets in Flutter can be of many types Widgets are built to make your code clean and Shorter. It makes the Customization of Code Simple and Easy
// code
** Simple Button Custom Widget **