In devtools call tree no matter what button you press (expand or collapse) the call tree collapses in both cases. See the gif animation Flutter version does not matter In 1.7.4 and in latest master branch from git it works identicaly 