watchThemeMode method

  1. @override
Stream<NativeLensThemeMode> watchThemeMode()
override

Emits native system theme mode updates as the platform reports them.

Implementation

@override
Stream<NativeLensThemeMode> watchThemeMode() {
  return themeModeEventChannel.receiveBroadcastStream().map(
    _themeModeFromNative,
  );
}