letsar / flutter_slidable

A Flutter implementation of slidable list item with directional slide actions.
MIT License
2.73k stars 591 forks source link

Compatibility with Flutter 3.7 #417

Closed ueman closed 1 year ago

ueman commented 1 year ago

Fixes #402

Flutter 3.7 changed the return value of Scrollable.of(context) from nullable to non-nullable. Therefore, we should use Scrollable.maybeOf(context) instead, since there's not always a scrollable in the context.

@letsar Please let me know if there's anything missing.

letsar commented 1 year ago

Thanks a lot !