i have a pageview with widget1 and widget2 both use a futurebuilder i want to disable widget2 and swipe if there is no data in his futurebuilder
body: PageView(
controller: controller,
scrollDirection: Axis.vertical,
child: Column(
children: <Widget>[
SizedBox(
child: PageView(
scrollDirection: Axis.horizontal
children: [
Widget1(),
Widget2()
]),
),
Widget3(),
Widget4(),
widget5(),
widget6(),
],
),
),