dot property
HighlightBuilder
dot
getter/setter pair
Builds a circular dot in the centre of the square, with a diameter equal to 1/3 of the width of the square.
Implementation
static HighlightBuilder dot = (context, size, colour) => Container(
width: size,
height: size,
child: Padding(
padding: EdgeInsets.all(size / 3),
child: Container(
decoration: BoxDecoration(
color: colour,
shape: BoxShape.circle,
),
),
),
);