title: How to achieve sliver in flutter when collapsing content is dynamic
body: <p>I have a requirement to develop a screen where there is collapsible content to be achieved using sliver.</p>
  <p>However, the height of collapsible content is dynamic and depends on the number of dynamic widgets applicable to the user (some may not have both dynamic widgets, some have one, some have both). These dynamic widgets load as parallel service to backend and not in sequential manner. Otherwise I would have calculated the height one by one.</p>
  <p>Help would be appreciated since all examples on internet point to have a fixed header height for slivers</p>
  <p>Example image attached of what i am trying to achieve.</p>
  <p><a href="https://i.stack.imgur.com/KBeIS.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/KBeIS.png" alt="enter image description here" /></a></p>