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