darkCircle method Null safety

CodeInputBuilder darkCircle(
  1. {double totalRadius = 30.0,
  2. double emptyRadius = 10.0,
  3. double filledRadius = 25.0}
)

Builds the input inside a light circle.

Implementation

static CodeInputBuilder darkCircle({
  double totalRadius = 30.0,
  double emptyRadius = 10.0,
  double filledRadius = 25.0,
}) {
  return circle(
      totalRadius: totalRadius,
      emptyRadius: emptyRadius,
      filledRadius: filledRadius,
      border: Border.all(color: Colors.black, width: 2.0),
      color: Colors.black12,
      textStyle: TextStyle(
          color: Colors.black, fontSize: 20.0, fontWeight: FontWeight.bold));
}