Image Block
DHIS2 Image Block. Wraps compose Image.
Parameters
controls the text to be shown for the title
to load an image stored in the resource, device memory or from network we can use loadPainter, loadImageBitmap, loadSvgPainter or loadXmlImageVector
is a composable function which controls how to paint the load param,
is a composable function which controls how to scale the painted image.
allows a modifier to be passed externally
controls whether the download button is visible or not
is a composable function which controls whether the download button is visible or not for the loaded item, defaults to downloadButtonVisible.
is a composable function which controls whether the image can be tapped to open full screen, defaults to always clickable.
is a callback to notify when the download button is clicked.
is a callback to notify when the share button is clicked.