Created
March 28, 2026 01:15
-
-
Save skydoves/8e3a5fc5d5e38ac2a3122d6b924080a5 to your computer and use it in GitHub Desktop.
Putting it all together - five plugins combined
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() | |
| +CircularRevealPlugin(duration = 350) | |
| +PalettePlugin( | |
| paletteLoadedListener = { palette -> | |
| dominantColor = palette.dominantSwatch?.rgb | |
| }, | |
| ) | |
| +PlaceholderPlugin.Failure(source = errorImage) | |
| +ZoomablePlugin() | |
| }, | |
| ) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment