refreshAllWidgets method
Refreshes all widgets.
Forces a refresh of all widget timelines.
Implementation
Future<void> refreshAllWidgets() async {
try {
await _methodChannel.invokeMethod('refreshAllWidgets');
} catch (e) {
throw Exception('Failed to refresh widgets: $e');
}
}