sendThemeMode method

void sendThemeMode(
  1. bool isDarkTheme
)

Sends the current theme mode to all sub windows.

Implementation

void sendThemeMode(bool isDarkTheme) {
  _sendDataToSubWindow(data: {
    'themeType': [isDarkTheme]
  });
}