build method

Widget build(
  1. BuildContext context
)

Implementation

Widget build(BuildContext context) {
  return Stack(
    fit: StackFit.expand,
    children: [
      if (_enableSky) const Sky(),
      for (int i = 0; i < _counter!; i++) _Eruption(count: i + 1),
      Volcano(),
      if (_enableGrass) const Grass(),
    ],
  );
}