Consider a PageView usage where we have one PageView inside another one:
PageView(
children: [
Container(color: Colors.red),
Column(
children: [
Text('Title'),
PageView(
children: [
Container(color: Colors.green),
Container(color: Colors.yellow),
],
),
],
)
],
);
Such architecture will allow us to transition between the outer PageView to the inner PageView. But once we reached the inner PageView we can't get out anymore.
Here's a gif showcasing it:
In such architecture, we can't "merge" both PageViews into one, because the inner PageView doesn't fill the screen
How could we achieve a similar result while allowing to transition from both PageView without getting stuck?

