How to make 4 scroll in flutter?
CodePudding user response:
You can add multiple scrolls in a Row widget like
Row(
children: [
Flexible(
flex: 1,
child : SizedBox(
height: MediaQuery.of(context).height,
child: SingleChildScrollView()
)
),
Flexible(
flex: 5,
child : SizedBox(
height: MediaQuery.of(context).height,
child: SingleChildScrollView()
)
),
Flexible(
flex: 1,
child : SizedBox(
height: MediaQuery.of(context).height,
child: SingleChildScrollView()
)
),
Flexible(
flex: 1,
child : SizedBox(
height: MediaQuery.of(context).height,
child: SingleChildScrollView()
)
)
]
)