Should be useSharedLibrary(); (extra r), but I'm not just proposing a pull request as this will be a breaking change for anybody using the existing functionality. Perhaps the way to go initially is to add useSharedLibrary();, switch the documentation over to that, and deprecate useSharedLibray(); for when a more important breaking change comes along (e.g. Dart 3).
Should be
useSharedLibrary();
(extrar
), but I'm not just proposing a pull request as this will be a breaking change for anybody using the existing functionality. Perhaps the way to go initially is to adduseSharedLibrary();
, switch the documentation over to that, and deprecateuseSharedLibray();
for when a more important breaking change comes along (e.g. Dart 3).