infospectDesktopThemeShell function

ViewShellOverrides infospectDesktopThemeShell({
  1. required bool darkTheme,
})

Theme shell used by Infospect secondary windows.

Implementation

ViewShellOverrides infospectDesktopThemeShell({required bool darkTheme}) {
  return ViewShellOverrides(
    appearance: AppShellPatch(
      theme: InfospectTheme.lightTheme,
      darkTheme: InfospectTheme.darkTheme,
      themeMode: darkTheme ? ThemeMode.dark : ThemeMode.light,
    ),
  );
}