setShowScrollSnapOverlays method

Future<void> setShowScrollSnapOverlays(
  1. List<ScrollSnapHighlightConfig> scrollSnapHighlightConfigs
)

scrollSnapHighlightConfigs An array of node identifiers and descriptors for the highlight appearance.

Implementation

Future<void> setShowScrollSnapOverlays(
    List<ScrollSnapHighlightConfig> scrollSnapHighlightConfigs) async {
  await _client.send('Overlay.setShowScrollSnapOverlays', {
    'scrollSnapHighlightConfigs': [...scrollSnapHighlightConfigs],
  });
}