Full Screen Image
fun FullScreenImage(painter: Painter, title: String, modifier: Modifier = Modifier, onDismiss: () -> Unit, onDownloadButtonClick: () -> Unit, onShareButtonClick: () -> Unit)
DHIS2 Full Screen Image. Wraps DHIS2 Internal ZoomableImage.
Parameters
painter
: controls the image painter to be drawn.
title
: controls the text to be shown for the title.
modifier
: allows a modifier to be passed externally.
on Dismiss
: is a callback to dismiss the full screen image component.
on Download Button Click
: is a callback to notify when the download button is clicked.
on Share Button Click
: is a callback to notify when the share button is clicked.