dot method

Widget dot(
  1. BuildContext context
)

Implementation

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