Right now my solution is using a combination of SliverToBoxAdapter, Row, and ShrinkWrappingViewport to make the layout I want.
return CustomScrollView(
slivers: [
SliverToBoxAdapter(
child: Row(
crossAxisAlignment: CrossAxisAlignment.start,
children: [
Flexible(
flex: 2,
child: Padding(
padding: const EdgeInsets.all(8.0),
child: ShrinkWrappingViewport(
slivers: _renderContent(context, main),
offset: ViewportOffset.zero(),
),
),
),
Flexible(
flex: 1,
child: Padding(
padding: const EdgeInsets.all(8.0),
child: ShrinkWrappingViewport(
slivers: _renderContent(context, sidebar),
offset: ViewportOffset.zero(),
),
),
),
],
),
),
Footer(),
],
);
Is there any elegant solution or sliver adapter that can be used as an alternative to row in CustomSrollView?