Created
March 28, 2026 01:14
-
-
Save skydoves/2b3fde7d17dae23ea2361f4d0c537a71 to your computer and use it in GitHub Desktop.
Plugin attach/detach with + operator
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| LandscapistImage( | |
| imageModel = { imageUrl }, | |
| component = rememberImageComponent { | |
| +ShimmerPlugin() // attach shimmer during loading | |
| +CircularRevealPlugin() // attach reveal animation on success | |
| +PalettePlugin { palette -> } // attach color extraction | |
| }, | |
| ) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment