ScanSummaryBar
Top bar that shows scan progress while a scan is running and a summary of findings once it completes. Tapping the score chip opens ScanReportSheet.
Callers are responsible for showing/hiding the bar itself; this composable renders content for ScannerState.Scanning and ScannerState.Complete and nothing for ScannerState.Idle and ScannerState.Error.
Parameters
state
Scanner state to summarize.
modifier
Modifier applied to the summary bar.