flutter_slidable icon indicating copy to clipboard operation
flutter_slidable copied to clipboard

fix: Scrollable of context for nullable instance

Open adrianostas opened this issue 2 years ago • 1 comments

Replace the Scrollable.of(context) with Scrollable.maybeOf(context) (after updating to Flutter3.7.0 tests are failing).

adrianostas avatar Feb 10 '23 07:02 adrianostas

This fixes #402. You also need to raise the minimal Flutter version to 3.7 since the Scrollable.maybeOf(context) was introduced in 3.7 and thus does not work on older Flutter versions.

ueman avatar Apr 06 '23 09:04 ueman

Thank you for this PR, I'll close it since this has already been fixed.

letsar avatar Jul 11 '24 18:07 letsar