I want to scroll a SingleChildScrollView() horizontally with mouse wheel in Flutter web but the SingleChildScrollView() is inside a ListView() and when i try to scroll it with the mouse wheel it scrolls the ListView().
This is my code
child: ListView(
children: [
Container(
width: 420.0,
child: Row(
children: [
Expanded(
child: Text(
'Popular Search',
),
),
Expanded(
flex: 3,
child: SingleChildScrollView(
scrollDirection: Axis.horizontal,
child: Row(
children: categoriesList.map((e) {
return Container(
decoration: BoxDecoration(
borderRadius:
BorderRadius.all(Radius.circular(12.0)),
color: Colors.white,
),
child: Text(
e,
style: TextStyle(
fontSize: 13.0,
),
),
);
}).toList(),
),
),
)
],
),
),
],
),