I ran into error which said.
RenderBox was not laid out: RenderViewport#b889d NEEDS-PAINT NEEDS-COMPOSITING-BITS-UPDATE \'package:flutter/src/rendering/box.dart\'