rememberFileExporter
fun rememberFileExporter(content: suspend () -> ByteArray?, onResult: suspend (exported: Boolean) -> Unit = {}): (fileName: String, mimeType: String) -> Unit(source)
Returns a launcher that asks the user where to save a file, then writes the bytes content produces there through FileService and reports whether the export landed to onResult. content runs only after a destination is chosen; returning null means there is nothing to export.