syncTheme method

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

Implementation

@override
Future<void> syncTheme(Web3ModalTheme? theme) async {
  if (!isEnabled.value || !isReady.value) return;
  final message = SyncTheme(theme: theme).toString();
  await _webViewController.runJavaScript('sendW3Message($message)');
}