syncTheme method

  1. @override
Future<void> syncTheme(
  1. ReownAppKitModalTheme? theme
)
override

Implementation

@override
Future<void> syncTheme(ReownAppKitModalTheme? theme) async {
  _appTheme = theme;
  if (_serviceNotReady || _appTheme == null) return;
  //
  final message = SyncTheme(theme: _appTheme).toString();
  await _webViewController.runJavaScript('sendMessage($message)');
}