<p dir="auto">The same question as <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="330986580" data-permission-text="Title is private" data-url="https://github.com/flutter/flutter/issues/18345" data-hovercard-type="issue" data-hovercard-url="/flutter/flutter/issues/18345/hovercard" href="https://github.com/flutter/flutter/issues/18345">#18345</a>, which was sadly closed by its author. Before I go to public forums with this, just a simple question:</p>
<blockquote>
<p dir="auto">I have a SliverAppBar with a flexibleSpace that holds information that will change in height. I simply want my AppBar to determine it's height at runtime rather than the static expandedHeight option. Do I really need to calculate the height of this widget before I pass it to the flexibleSpace? Or is there a built in method to allow the SliverAppBar to determine that on it's own?</p>
</blockquote>
<p dir="auto">Can it be done somehow by using Flutter's existing components?</p>
<p dir="auto">I have a SliverAppBar with a flexibleSpace that holds information that will change in height. I simply want my AppBar to determine it's height at runtime rather than the static expandedHeight option. Do I really need to calculate the height of this widget before I pass it to the flexibleSpace? Or is there a built in method to allow the SliverAppBar to determine that on it's own?</p>