SettingsSearchContext

class SettingsSearchContext(val graph: ShellGraph, val capabilities: ShellCapabilities = ShellCapabilities.of(graph))(source)

What a SettingsSearchProvider decides its rows from: the app's graph and what its declared shell can do. The settings search builds it from the same ShellHost locals the settings pages read, so a page and its search rows follow the same rules.

Constructors

Link copied to clipboard
constructor(graph: ShellGraph, capabilities: ShellCapabilities = ShellCapabilities.of(graph))

Properties

Link copied to clipboard

What the app's graph and layout policy can show, for rows that depend on its navigation, app bars, accessories or content width. By default those of graph with the default layout policy, as in tests.

Link copied to clipboard

The app's graph, for rows that depend on which destinations it registers.