dot method
Implementation
Widget dot(BuildContext context) => Container(
width: badgeSize,
height: badgeSize,
decoration: BoxDecoration(
color: badgeColor ?? Theme.of(context).primaryColor,
shape: BoxShape.circle),
child: badge);