4

I'm looking to create a debug feature. Here's a simplified representation:

@Composable
fun DebugLogOverlay(logs: List<String>){  
    LazyColumn(
        modifier = Modifier
            .background(
                color = Colors.White.copy(alpha = 0.3F)
            )
    ){
        items(logs){ log ->
            ListItem(
                text = { Text(log) }
            )
        }
    }  
}

The goal is to overlay but not interfere with the app. Is there a way to do this? I'm looking for something similar to Flutter's IgnorePointer, but with Compose? https://api.flutter.dev/flutter/widgets/IgnorePointer-class.html

Darryl Johnson
  • 646
  • 6
  • 14

0 Answers0