See RaylibCoreDart.UnloadMaterial.
void UnloadMaterial( MaterialD material, ) => _module.UnloadMaterial(material);