FullScreenImage

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.

onDismiss

: is a callback to dismiss the full screen image component.

onDownloadButtonClick

: is a callback to notify when the download button is clicked.

onShareButtonClick

: is a callback to notify when the share button is clicked.