diff --git a/lib/scroll_snap_list.dart b/lib/scroll_snap_list.dart index 9e1d843..e19d66b 100644 --- a/lib/scroll_snap_list.dart +++ b/lib/scroll_snap_list.dart @@ -300,12 +300,6 @@ class ScrollSnapListState extends State { if (widget.onReachEnd != null) widget.onReachEnd!(); } - @override - void dispose() { - widget.listController.dispose(); - super.dispose(); - } - /// Calculate List Padding by checking SelectedItemAnchor double calculateListPadding(BoxConstraints constraint) { switch (widget.selectedItemAnchor) {