wwwdata / implicitly_animated_reorderable_list

Fork of the discontinued plugin to continue maintaining it
MIT License
32 stars 22 forks source link

fix: use the new Flutter 3.7.0 maybeOf to avoid a possible crash #14

Closed FredJul closed 1 year ago

FredJul commented 1 year ago

Flutter 3.7.0 introduced a breaking change where the .of( now returns a non null values or an exception. If you want to keep the previous behavior, we need to use .maybeOf(.

This PR use that new maybeOf to avoid a possible crash in this lib.

wwwdata commented 1 year ago

Thanks that is a good catch. I fixed the CI and linting in the main branch now. Could you please rebase, then the tests should be green and it will get merged. I will make a new release after that as well.

wwwdata commented 1 year ago

nevermind could do it myself :) thanks again, will merge now