boardBox method

Widget boardBox({
  1. double iconSize = 20,
  2. double radius = 0,
  3. double boardWidth = 2,
  4. Color color = Colors.blue,
})

Implementation

Widget boardBox(
    {double iconSize = 20,
    double radius = 0,
    double boardWidth = 2,
    Color color = Colors.blue}) {
  return this
      .iconWhite(
        size: iconSize,
      )
      .box(cornerRadius: radius, color: color)
      .pad(all: boardWidth)
      .box(cornerRadius: radius, color: color.oppositeHSV)
      .aspect(1);
}