build method

Widget build(
  1. BuildContext context
)

Implementation

Widget build(BuildContext context) {
  return Center(
    child: Row(
      children: [
        for (int i = 0; i < _counter.toString().length; i++)
          Expanded(
              flex: _counter.toString().length > 5 ? 1 : 0,
              child: blocks(_counter.toString()[i]))
      ],
      mainAxisAlignment: MainAxisAlignment.center,
      crossAxisAlignment: CrossAxisAlignment.center,
    ),
  );
}