To be compatible with flutter, 3.24, for now, it appears that packages need to have a compiledSDK version of 31+ https://github.com/flutter/flutter/issues/153281#issuecomment-2292201697