build method
Implementation
@override
Widget build(Context context) {
return Container(
margin: margin,
padding: padding,
child: Row(
crossAxisAlignment: CrossAxisAlignment.start,
children: <Widget>[
Container(
width: bulletSize,
height: bulletSize,
margin: bulletMargin,
decoration: BoxDecoration(color: bulletColor, shape: bulletShape),
),
Expanded(
child: text == null
? SizedBox()
: Text(
text!,
textAlign: textAlign,
style: Theme.of(context).bulletStyle.merge(style),
),
)
],
),
);
}