rememberScannerState

Creates a ScannerState that can be used to control the scanner.