onDetach
Runs onRemovedFromDecoration and releases the layers obtainImageLayer made. The component is handed the decoration without this step once the modifier pass ends.
Runs onRemovedFromDecoration and releases the layers obtainImageLayer made. The component is handed the decoration without this step once the modifier pass ends.