When I add the package and try to run the app I get these errors :
/C:/Users/User/AppData/Local/Pub/Cache/hosted/pub.dev/dropdown_search-6.0.1/lib/src/widgets/custom_scroll_view.dart:21:7: Error: No named parameter with the name 'hitTestBehavior'.
hitTestBehavior: scrollProps.hitTestBehavior,
^^^^^^^^^^^^^^^
/C:/src/flutter/packages/flutter/lib/src/widgets/single_child_scroll_view.dart:143:9: Context: Found this candidate, but the arguments don't match.
const SingleChildScrollView({
^^^^^^^^^^^^^^^^^^^^^
/C:/Users/Amr/AppData/Local/Pub/Cache/hosted/pub.dev/dropdown_search-6.0.1/lib/src/widgets/dropdown_search_popup.dart:191:33: Error: No named parameter with the name 'hitTestBehavior'.
hitTestBehavior: widget
^^^^^^^^^^^^^^^
/C:/src/flutter/packages/flutter/lib/src/widgets/scroll_view.dart:1298:3: Context: Found this candidate, but the arguments don't match.
ListView.builder({
^^^^^^^^^^^^^^^^
Target kernel_snapshot failed: Exception
Desktop (please complete the following information):
When I add the package and try to run the app I get these errors :
Desktop (please complete the following information):