buildSandboxedTheme function

SandboxedTheme buildSandboxedTheme(
  1. BuildContext context,
  2. WidgetRef ref
)

Implementation

SandboxedTheme buildSandboxedTheme(BuildContext context, WidgetRef ref) {
  return SandboxedTheme(
    brandColor: ref.watch(brandColorProvider),
    codeStyle: GoogleFonts.jetBrainsMono(),
    tileTheme: ElementTileThemeData(
      dense: ref.watch(
        settingStorageProvider.select(
          (value) => value.denseExplorer,
        ),
      ),
    ),
  );
}