Linux Scroll In Flutter
class MyCustomScrollBehavour extends MaterialScrollBehavior {
@override
Set<PointerDeviceKind> get dragDevices => {
PointerDeviceKind.touch,
PointerDeviceKind.mouse,
};
}
final ScrollController controller = ScrollController();
ScrollConfiguration(
behavior: MyCustomScrollBehavour(),
child: ListView.builder(controller: controller,itemBuilder:
(BuildContext context int index) {
return Text('item $index');
}
),
);
Yucky Yacare